'UniversalAdditionalCameraData' has been destroyed but you are still trying to access it.

using Unity 2022.1.1f1

using Universal Render Pipeline 13.1.8

I keep getting 999+ errors of this every time I exit play mode.

  • It only shows up while I’m not in play mode.
  • As soon as I go back into play mode it goes away and stops until I exit play mode again.
  • I can restart Unity and it’ll go away until the next time I exit out of play mode.
  • If I delete my camera manually in the Editor before exiting play mode it doesn’t show up that time.
  • I’ve tried deleting the camera and making a new one it still happens
  • My camera is spawned into the scene with the player at runtime

I cannot figure out what could be accessing my camera nonstop when it’s not even play mode.

Does anybody know how to fix this? Thanks

UniversalAdditionalCameraData is to do with the Universal Render Pipeline package, only things I can suggest is make sure all the cameras in the scene have the “UniversalAdditionalCameraData” Component on them, and if they do, perhaps check your URP package is up to date in the package manager.