Search Issue Tracker
Fixed in 4.3.0-preview.8
Votes
1
Found in [Package]
4.3.0-preview.6
Issue ID
1230949
Regression
No
[ProBuilder][HDRP] MissingReferenceException is thrown in Console when saving a Lit Graph that's attached to a ProBuilder object
How to reproduce:
1. Open the project from the attached file "1230949.zip"(link in edit)
2. From Assets open "Lit Graph"
3. In the upper left corner of the Lit Graph window press Save Asset
4. Go to Scene View and inspect the Console
Expected behavior: no errors are thrown in the Console
Actual behavior: "MissingReferenceException: The object of type 'Material' has been destroyed but you are still trying to access it." error is thrown in the console
Reproducible with: ProBuilder 4.0.2(2019.3.9f1, 2020.1.0b4, 2020.2.0a5), ProBuilder 4.3.0-preview.6(2019.3.9f1, 2020.1.0b4, 2020.2.0a5)
Could not test with: 2017.4.38f1(no Package Manager), ProBuilder 3.10.1(2018.4.20f1)(Shader error in Console)
Notes:
- only reproducible when ProBuilder window is open in the project
- reproducible only once, you have to re-open the project to reproduce again.
- recompiling scripts stops throwing the error
- tested with these HDRP versions: 8.0.1, 7.3.1, 7.1.8
- Could not test with HDRP 4.10.0-preview(Shader error in Console)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 4.3.0-preview.8):
https://github.com/Unity-Technologies/com.unity.probuilder/pull/280