Search Issue Tracker
Fixed in Fixed is outside the package
Votes
0
Found in [Package]
4.2.4, 4.2.1, 3.0.8, 3.0.0
Issue ID
1249369
Regression
No
[UIR] Exception thrown on applying changes of "Sprite Import Settings" in Play mode with Sprite Editor window is opened
When Editor in the Play Mode along with Sprite Editor window is opened, Switching Skinning Editor mode to Sprite Editor and apply changes of "Sprite Import Settings" in the Inspector causes the editor to throw NullReferenceException, refer the attached video
Steps to repro:
1. Open attached project (SpriteEditorTesting.zip)
2. Project window > Bird Sprite > Inspector > Sprite Editor
3. Switch to Skinning Editor
4. Enter the Play Mode
5. Switch Skinning Editor to Sprite Editor mode
6. Make Changes in Sprite Import Settings in Inspector
7. Apply the changes
Actual Result:
NullReferenceException is thrown on applying the changes of Sprite Import Settings in the Inspector when the editor in Play Mode and switching Skinning Editor to Sprite Editor mode
Expected Result:
Sprite Import Settings changes are applied gracefully
Note: 2D animation package 3.0.0 is introduced in unity 2019.3.0a10
Reproducible on:
2020.2.0a12, 2020.1.0b10, 2019.3.14f1, 2019.3.0a10
Package Found version: 4.2.4, 4.2.1, 3.2.2, 3.0.8, 3.0.5, 3.0.0
Environment:
Windows 10 & macOS 10.14
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UIElements.UIR.TextureBlitter.BeginBlit (UnityEngine.RenderTexture dst) (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.UIR.TextureBlitter.BlitOneNow (UnityEngine.RenderTexture dst, UnityEngine.Texture src, UnityEngine.RectInt srcRect, UnityEngine.Vector2Int dstPos, System.Boolean addBorder, UnityEngine.Color tint) (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.UIRAtlasManager.UpdateAtlasTexture () (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.UIRAtlasManager.Commit () (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.UIR.RenderChain.ProcessChanges () (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <f84407eabfb74dba8357ceccfe014dd7>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <9fa4332e69414794a383949976dee11c>:0)
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