Search Issue Tracker
Duplicate
Votes
0
Found in
5.6.2p1
Issue ID
931526
Regression
Yes
NullReferenceException error when starting play mode with Viewport active
To reproduce:
1. Open an attached Unity project "nullreference.zip"
2. Open "test" scene
3. Go into Play mode
4. Observe console
Result: Console prints out "NullReferenceException" error every time play mode starts
Note: In the hierarchy, Navigate to Canvas --> Scroll View --> Viewport and disable it. Now starting play mode will not print the error message.
Note: Disabling and enabling Viewport GameObject prompts "IndexOutOfRangeException" error to the console
Reproduced on: 5.6.0b2, 5.6.2p3
Not reproduced on: 5.5.4p2, 5.6.0b1
Fixed in: 2017.1 and 2017.2
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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
This is a duplicate of issue #919280