UnityEngine.Camera.get_projectionMatrix, game not receiving input because of this.
NullReferenceException
at (wrapper managed-to-native) UnityEngine.Camera:INTERNAL_get_projectionMatrix (UnityEngine.Matrix4x4&)
at UnityEngine.Camera.get_projectionMatrix () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
cameras[c] == null
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
I'm not really sure where to go with this error or how to debug it because there is no other information. All I know is this pops up and the game stops receiving input from EVERYTHING and then the game has to be restarted. Any ideas? Never heard of this before and finding nothing on Google.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612121238im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Camera Controller default position? 0 Answers
Gamepad recognized as joystick and doesn't work 0 Answers
Errors when trying to pause audio with game () 1 Answer
Camera goes through ground from too far away 0 Answers
Mouse position from new InputSystem is not correct and is not the same as Input.mousePosition 0 Answers