Search Issue Tracker
Won't Fix
Votes
1
Found in
2019.1.0f2
2019.3
Issue ID
1153327
Regression
No
[PHYSX] PhysX.PxsContext.contactManagerDiscreteUpdate spikes when small amount of rigidbodies are being spawned
To reproduce:
1. Open attached project
2. Press play and go to profiler
3. In the game press Respawn button
4. In the profiler check PhysX.PxsContext.contactManagerDiscreteUpdate
Actual result: Huge spikes of physics appear
Expected result: There should be no spikes
Reproduced with: 2019.1.8f1; 2019.2.0b7; 2019.3.0a8
Can't check on 2017.4 and 2018.4 due to errors.
-
ashishverma
Feb 11, 2020 06:48
In case of my game I have pool balls which are instantiating. And when I am taking shots and ball are in motion then it is happening.
-
ashishverma
Feb 11, 2020 06:44
Happening in 2018.4.15 also, Please try to fix this.
-
laeusnb
Aug 16, 2019 23:22
Happens in 2018.4.2f1 as well.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note:
The time taken here is to fetch triangles that may be potentially overlapping with the bounds of the bodies. Apparently, this is a very costly process in PhysX, and the only real way to bring it down in this project is to reduce the resolution of the terrain heightmap.