Search Issue Tracker

Fixed in 4.3.X

Votes

0

Found in

4.3.0b2

Issue ID

564533

Regression

Yes

Using Camera.current causes unity to crash

Camera

-

To reproduce:
1. Open project Scorched
2. Open scene scorched
3. Enter play mode - an error appears (NullReferenceException).
4. Enter/Leave play mode a few times - console will keep getting errors, at one point they will change. Entering play mode after that causes unity to crash

Note: changing the Camera.current seems to fix the problem.

Versions 4.2.1f3 and earlier seem to throw the error, but not crash.

Add comment

Log in to post comment