Search Issue Tracker
Fixed in 2020.2.X
Votes
1
Found in
2019.3
2019.3.10f1
2020.2
Issue ID
1240491
Regression
No
[URP] NullReferenceException on Terrain Shaders when project is opened after deleting Library folder
How to reproduce:
1. Download "1240491" project (TerrainData is present in the project)
2. Delete the Library folder from the project
3. Open the project and observe the Console
Expected result: No errors in Console
Actual result: NullReferenceException errors in Console
Reproducible with: 2019.3.10f1 (7.3.1), 2020.1.0b6 (8.0.1), 2020.2.0a8 (8.0.1)
Could not test with: 2017.4.40f1 (URP was not supported), 2018.4.21f (Due to existing errors)
Note: Issue is only reproducible on the user's project, so downgrading to 2018.4.21f1 throws errors of files being serialized with a newer version of Unity
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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 2020.2):
Fixed in: 2021.1.0a1