Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.4.X, 2020.1.X
Votes
0
Found in
2019.1.0f2
2019.1.4f1
2019.2.0a8
2019.3.0a1
Issue ID
1159201
Regression
No
NullreferenceException is thrown when creating a Terrain using a Script while a GameObject with the Script is selected
Steps to reproduce:
1. Open the attached project "Case_1159201"
2. Navigate to Project -> Assets and open "TestBug"
3. In the hierarchy window select "Left" or "Right" GameObject
3. Enter Play mode
-- Notice the console "NullReferenceException: Object reference not set to an instance of an object" error
Expected results: No errors are displayed when creating a Terrain with a script while Terrain Tool package is installed
Actual Results: NullReferenceException is thrown when creating a Terrain with a script while GameObject with a script is selected in the Hierarchy
Reproducible with: 2019.1.0f2(preview - 1.1.2), 2019.1.5f1(preview - 1.1.2), 2019.2.0b5(preview - 1.1.2), 2019.3.0a4(preview - 1.1.4)
Notes: Terrain Tool package appeared in 2019.1. Versions lower than 2019.1.0f2 crash and throw package errors. Versions lower than 2019.2.0a8 throw package errors.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
Add comment