You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/PhysX/Code/Source/PhysXCharacters/API
amzn-sean 34afed6792
fixed Ragdoll component can crash on deactivate (#2834)
fixes #2650
The root of the crash was connecting/disconnecting to the AZ::Event SceneSimulationStart when not on the main thread, as that is not thread safe.

The connection/disconnection was originally handled from Enable/EnableQueued and Disable/DisabledQueued which can be called from other threads within EmotionFX. I've moved the connection/disconnection to the Constructor / destructor, as the handler is responsible for executing the queued enable/disable actions and it makes sense to have that connection happen external to the Enable/disable path.

Signed-off-by: amzn-sean 75276488+amzn-sean@users.noreply.github.com
4 years ago
..
CharacterController.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
CharacterController.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
CharacterUtils.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
CharacterUtils.h Merge branch 'development' into cmake/SPEC-7179 4 years ago
Ragdoll.cpp fixed Ragdoll component can crash on deactivate (#2834) 4 years ago
Ragdoll.h fixed Ragdoll component can crash on deactivate (#2834) 4 years ago
RagdollNode.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
RagdollNode.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago