Search Issue Tracker
Fixed
Fixed in 2023.2.0b3, 2023.3.0a1, 2024.1.0a1
Votes
0
Found in
2023.2.0b1
2023.3.0a1
2024.1.0a1
Issue ID
UUM-43574
Regression
Yes
NullReferenceException when selecting a Texture2DArray
There are two ways to trigger a NullReferenceException with Texture2DArray:
# Opening a scene that uses a Texture2DArray. Find the Draw Call in the tree and clicking the texture icon in the Texture foldout.
# Finding a Texture2DArray in the project. Click it so it should appear in an inspector.
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Texture2DArrayPreview.OnPreviewGUI (UnityEngine.Texture t, UnityEngine.Rect r, UnityEngine.GUIStyle background, System.Single exposure, UnityEditor.TextureInspector+PreviewMode previewMode, System.Single mipLevel) (at /opt/UnitySrc/unity/Editor/Mono/Inspector/Texture2DArrayPreview.cs:103)
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment