Bugs and crashes using Animations by Explosive in unity 2021.3.1

Hi I’ve noticed some unusual behavior in unity ever since I’ve imported Animations by Explosive in unity 2021.3.1.

Including some of the actual files being viewed from the project view disappearing and then randomly causing Unity to crash. Just thought I’d mention this for anyone else who is using unity 2021 and if anyone knows of any fixes.

It seems to happen most often when the death animation is being played but it does happen with other animations as well, it just crashed again and I got this in the unity crash reporter:

Obtained 49 stack frames

0x00007ff77e494f70 (Unity) GraphicsScripting::DrawTexture

0x00007ff77db13002 (Unity) Graphics_CUSTOM_Internal_DrawTexture

0x000001fb8d4ba0ba (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Graphics:Internal_DrawTexture (UnityEngine.Internal_DrawTextureArguments&)

0x000001fb8d4b9063 (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,bool,single,UnityEngine.Color,UnityEngine.Color,UnityEngine.Color,UnityEngine.Color,UnityEngine.Vector4,UnityEngine.Vector4,bool)

0x000001fb8d4be0eb (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,bool,single,UnityEngine.Color,UnityEngine.Color,UnityEngine.Color,UnityEngine.Color,UnityEngine.Vector4,UnityEngine.Vector4)

0x000001fb8d4b6e3b (Mono JIT Code) UnityEditor.StyleSheets.StylePainter:DrawBlock (UnityEngine.GUIStyle,UnityEditor.StyleSheets.StyleBlock,UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.DrawStates)

0x000001fb8d4afcd3 (Mono JIT Code) UnityEditor.StyleSheets.StylePainter:DrawStyle (UnityEngine.GUIStyle,UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.DrawStates)

0x000001fb8d4b0da4 (Mono JIT Code) (wrapper delegate-invoke) <Module>:invoke_bool_GUIStyle_Rect_GUIContent_DrawStates (UnityEngine.GUIStyle,UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.DrawStates)

0x000001fb8d4af491 (Mono JIT Code) UnityEngine.GUIStyle:Draw (UnityEngine.Rect,UnityEngine.GUIContent,int,bool,bool,bool,bool)

0x000001fb8d4af1d3 (Mono JIT Code) UnityEngine.GUIStyle:Draw (UnityEngine.Rect,bool,bool,bool,bool)

0x000001fb8d529293 (Mono JIT Code) UnityEditor.DockArea:DrawTab (UnityEngine.Rect,UnityEngine.GUIStyle,int,single)

0x000001fae22ae13b (Mono JIT Code) UnityEditor.DockArea:DragTab (UnityEngine.Rect,single,UnityEngine.GUIStyle,UnityEngine.GUIStyle)

0x000001fae22abb23 (Mono JIT Code) UnityEditor.DockArea:DrawTabs (UnityEngine.Rect)

0x000001fae22a4703 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()

0x000001fae228aaef (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)

0x000001fae2289eab (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)

0x000001fb8d4adb3b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint ()

0x000001fb8d4abf54 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&)

0x000001fb8d4aa00b (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&)

0x000001fb8d4a6713 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChain:Render ()

0x000001fae36b2283 (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:Update ()

0x000001fae21cd5ae (Mono JIT Code) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)

0x000001fae36863cb (Mono JIT Code) UnityEngine.UIElements.Panel:UpdateForRepaint ()

0x000001fae3684c7b (Mono JIT Code) UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)

0x000001fae21cce5f (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)

0x000001fae21ccbb3 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)

0x000001fae21cc9af (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)

0x000001fae21cc8eb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)

0x000001fae21cc73d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

0x000001fae21cc7f6 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)

0x00007fffbd86e0a4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke

0x00007fffbd7ae744 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke

0x00007fffbd7ae8dc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke

0x00007ff77e92f454 (Unity) scripting_method_invoke

0x00007ff77e92a074 (Unity) ScriptingInvocation::Invoke

0x00007ff77e923995 (Unity) ScriptingInvocation::Invoke<void>

0x00007ff77ea2c58a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent

0x00007ff77f4641f6 (Unity) GUIView::ProcessRetainedMode

0x00007ff77f9a843b (Unity) GUIView::OnInputEvent

0x00007ff77f46400a (Unity) GUIView::ProcessInputEvent

0x00007ff77f9a11de (Unity) GUIView::DoPaint

0x00007ff77f9aa5cd (Unity) GUIView::RepaintAll

0x00007ff77f537cc6 (Unity) PlayerLoopController::UpdateScene

0x00007ff77f535caf (Unity) Application::TickTimer

0x00007ff77f97e10a (Unity) MainMessageLoop

0x00007ff77f9829db (Unity) WinMain

0x00007ff780ca427e (Unity) __scrt_common_main_seh

0x00007ff83b567034 (KERNEL32) BaseThreadInitThunk

0x00007ff83c322651 (ntdll) RtlUserThreadStart

I suspect that the issue isn’t actually the animations, but part of the slew of bugs that plague Unity 2021. I’ve been getting errors like this from time to time in all of my Unity 2021 projects during run. It feels like they never really got 2021 stable (even in the LTS versions). Interestingly enough, I don’t seem to be having these issues in built games, so it’s likely an issue in their editor code (which this particular set of stack traces bears out, this is entirely in the UI section of the code, there isn’t actually anything in here related to animations.

One thing I’ve found that helps from time to time (but not always, that’s Unity for ya) is to go into Layout and “Reset to Factory Layout”. Then I just re-arrange the layout back to the way I like it.

2 Likes

Privacy & Terms