Search Issue Tracker
Fixed in 2020.1
[Terrain] NullReferenceException errors are thrown on creating Brush asset with OpenGLES2 Graphics APIs
NullReferenceException errors are thrown continuously on creating Brush asset with OpenGLES2 Graphics APIs.
Steps to repro:
1. Create a new project.
2. Change Graphics APIs to OpenGLES2.
3. Right-click on Project Window.
4. Create > Brush.
NullReferenceException errors are thrown in the console.
No errors in the console.
2020.1.0a12, 2019.3.0b10, 2019.3.0b6.
Working Fine in:
Only on Windows.
UnityEngine.Texture.get_width () (at <4e781ea27afa4779b4c4bcd46aeba67a>:0)
UnityEngine.Texture2D.SetPixels (UnityEngine.Color colors) (at <4e781ea27afa4779b4c4bcd46aeba67a>:0)
UnityEditor.Brush.GenerateBrushTexture (UnityEngine.Texture2D mask, UnityEngine.AnimationCurve falloff, System.Single radiusScale, System.Single blackWhiteRemapMin, System.Single blackWhiteRemapMax, System.Boolean invertRemapRange, System.Int32 width, System.Int32 height, System.Boolean isThumbnail) (at <b43e6d4802d64ea8bbdaa0bf64614d3b>:0)
UnityEditor.BrushEditor.OnPreviewGUI (UnityEngine.Rect r, UnityEngine.GUIStyle background) (at <b43e6d4802d64ea8bbdaa0bf64614d3b>:0)
UnityEditor.Editor.OnInteractivePreviewGUI (UnityEngine.Rect r, UnityEngine.GUIStyle background) (at <b43e6d4802d64ea8bbdaa0bf64614d3b>:0)
UnityEditor.ObjectPreview.DrawPreview (UnityEditor.IPreviewable defaultPreview, UnityEngine.Rect previewArea, UnityEngine.Object targets) (at <b43e6d4802d64ea8bbdaa0bf64614d3b>:0)
UnityEditor.Editor.DrawPreview (UnityEngine.Rect previewArea) (at <b43e6d4802d64ea8bbdaa0bf64614d3b>:0)
UnityEditor.InspectorWindow.DrawPreviewAndLabels () (at <b43e6d4802d64ea8bbdaa0bf64614d3b>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <b256487a5e4140809d026a943f161bc2>:0)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Physics.CapsuleCast ignores Mesh Collider when Z-axis of the Capsule matches Z-axis of the Mesh Collider and scale is 1:1:1
- [PLM] Lightmap directionality appears differently during vs. completed bake
- Styling issues in the app toolbar
- Editor game view mouse input stop working after game window has been moved in play mode
- Perforce integration - Attempting to add a P4Ignore ignored file does nothing