Search Issue Tracker
By Design
By Design in 6000.5.X
Votes
0
Found in
6000.0.67f1
6000.3.8f1
6000.4.0b8
6000.5.0a6
Issue ID
UUM-134668
Regression
No
A frame spike occurs when Physics Simulation Mode is switched from Script to FixedUpdate
How to reproduce:
1. Open the attached project "IN-133997"
2. Open the “Assets/PxTest/PxTest” Scene
3. Open the Profiler window
4. Enter Play Mode
5. Observe the Profiler
Actual result: A large frame spike of over 9000ms occurs shortly after entering Play Mode
Expected result: No large frame spikes appear after entering Play Mode
Reproducible with: 6000.0.67f1, 6000.3.1f1 (f56f53296c2c), 6000.3.8f1, 6000.4.0b8, 6000.5.0a6
Not reproducible with: 6000.3.0f1 (d1870ce95baf)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Hello!
The issue described in this case is occurring as a result of a previous bugfix. During the 6.X cycle Unity's SaP (Sweep and Prune) option in the Project Settings -> Physics -> Settings tab would internally be treated as ABP (Automatic box pruning). ABP performance is far higher for insertions/removals/changes within a physics scene's broad phase. The bug fix I'm referring to simply ensured SaP actual evaluated to eSAP in the PhysX integration code.
Thank you for reaching out and submitting this case!
Cheers,
AlexRvn
Resolution Note (6000.5.X):
Hello!
The issue described in this case is occurring as a result of a previous bugfix. During the 6.X cycle Unity's SaP (Sweep and Prune) option in the Project Settings -> Physics -> Settings tab would internally be treated as ABP (Automatic box pruning). ABP performance is far higher for insertions/removals/changes within a physics scene's broad phase. The bug fix I'm referring to simply ensured SaP actual evaluated to eSAP in the PhysX integration code.
Thank you for reaching out and submitting this case!
Cheers,
AlexRvn