Search Issue Tracker
Duplicate
Votes
0
Found in
4.2.1f4
Issue ID
564784
Regression
No
Using camera.current sometimes crashes Unity
To reproduce:
1. Open FirstProject
2. Open MyScene
3. Enter play mode a few times. Unity should crash. If it does not crash, try closing Unity and reopening the project again. It takes quite a few tries and appears inconsistent, but removing the camera.current in the script "Test Behaviour" seems to solve the problem
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
- The build size is larger when Models have Animation Type set to Generic
This is a duplicate of issue #564533