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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment