Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b12
Issue ID
647711
Regression
Yes
Null reference exception when clicking Fix Now on a material w/ cubemap
Steps to reproduce:
1. Download and import the assets user attached (https://dl.dropboxusercontent.com/u/4946575/CubemapNullRef.zip)
2. There is a material with a Skybox/cubemap shader and a cubemap (has a texture that contains alpha but is not RGBM (incompatible with HDR))
3. Add that cubemap to the material
4. Press "Fix now", observe errors:
NullReferenceException: Object reference not set to an instance of an object
UnityEditorInternal.InternalEditorUtility.FixHDRTexture (UnityEditor.MaterialProperty prop) (at C:/buildslave/unity/build/artifacts/generated/common/editor/InternalEditorUtility.gen.cs:97)
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
Add comment