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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment