Search Issue Tracker

Fixed in 1.1-preview

Votes

0

Found in [Package]

2019.3

2019.4

2020.1

2020.2

2020.2.0a9

Issue ID

1247802

Regression

No

Crash when quickly moving an object with Animator component between scenes

Package: Input System

-

How to reproduce:
1. Open attached project "Case_1247802" and load scene "Start Game"
2. Enter Play Mode
3. Start quickly pressing either the "W" key or the up arrow key

Reproducible with: 2019.3.16f1, 2019.4.0f1, 2020.1.0b11, 2020.2.0a13
Could not test with: 2018.4.23f1 (due to various errors in the project)

First lines of a few stack traces it crashes with:
0x00007FF751545AAE (Unity) Playable::ProcessPlayState
0x00007FF7515453F6 (Unity) Playable::PrepareFrameVisitor
0x00007FF7515500F0 (Unity) PreOrderPlayableTraverser::Traverse
0x00007FF751545F3B (Unity) PreOrderPlayableTraverser::RecursiveVisit
0x00007FF7515501F1 (Unity) PreOrderPlayableTraverser::Traverse

0x00007ff641376865 (Unity) PlayableGraph::DestroyRecursive
0x00007ff641382ca5 (Unity) PlayableGraph::ScheduleSubgraphDestruction
0x00007ff6413768b6 (Unity) PlayableGraph::DestroySubGraphDeferred
0x00007ff63fd932d2 (Unity) AnimatorControllerPlayable::ClearPlayable
0x00007ff63fd9348e (Unity) AnimatorControllerPlayable::DeallocateResources

0x00007ff7220d00e9 (Unity) MemoryProfiler::UnregisterAllocation
0x00007ff7218e755b (Unity) MemoryManager::RegisterDeallocation
0x00007ff7218e381b (Unity) MemoryManager::Deallocate
0x00007ff7218f56aa (Unity) free_alloc_internal
0x00007ff72103637c (Unity) mecanim::memory::ChainedAllocator::Clear

0x00007ff63fd8c08a (Unity) AnimationMixerPlayable::DeallocateBindings
0x00007ff63fd230a9 (Unity) AnimationPlayable::UpdateInternalStateRecursive<1,0>
0x00007ff63fd230dd (Unity) AnimationPlayable::UpdateInternalStateRecursive<1,0>
0x00007ff63fd29aaf (Unity) Animator::ClearBindings
0x00007ff63fd29ed2 (Unity) Animator::ClearObject

0x00007FF6E701ECED (Unity) DualThreadAllocator<DynamicHeapAllocator>::Contains
0x00007FF6E7008759 (Unity) MemoryManager::Deallocate
0x00007FF6E701A6FA (Unity) free_alloc_internal
0x00007FF6E5323312 (Unity) mecanim::animation::DestroyControllerInput
0x00007FF6E5307DE9 (Unity) AnimatorControllerPlayable::Memory::Reset

Notes:
1. The object transported between scenes is "Player Character", simply disabling the Animator component still reproduces the crash, however, removing it completely makes the crash no longer reproduce
2. Reproducible on OSX and Windows

  1. Resolution Note (fix version 1.1-preview):

    Fixed in Input System 1.1.0 - preview.1

    Should be fixed by https://github.com/Unity-Technologies/InputSystem/pull/1185

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.