You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will need to sync and wait for PhysX results before calling Late Update but keep it optimized if possible to waste as late as possible for multi-threaded simulation.
Issue description:
Accessing rigidbody inside
OnLateFixedUpdate()
causes PhysX errorsError
[ 00:23:19.776 ]: [Error] PhysX Error! Code: 8. PxRigidDynamic::setGlobalPose() not allowed while simulation is running. Call will be ignored. Source: F:\FlaxEngineDotnet\Cache\Intermediate\Deps\PhysX\physx\source\physx\src\NpRigidDynamic.cpp : 97. [ 00:23:19.776 ]: [Error] PhysX Error! Code: 8. PxRigidActor::getWorldBounds() not allowed while simulation is running (except during PxScene::collide()). Source: F:\FlaxEngineDotnet\Cache\Intermediate\Deps\PhysX\physx\source\physx\src\NpRigidActorTemplate.h : 301
Flax version:
Master Branch 26/04/24
The text was updated successfully, but these errors were encountered: