Search Issue Tracker
Active
Under Consideration for 1.2.X, 7000.0.X
Votes
0
Found in [Package]
1.0.0
1.2.X
7000.0.0a1
Issue ID
ECSB-307
Regression
No
Unity Physics: Performance issue due to use of hash map in cases when the hash map is not required
Reported on discord by user [here|https://discord.com/channels/489222168727519232/1064581837055348857/1106346472846397450].
*Description of the issue:*
User "Enzi":
{quote}
hello @daniel-holz hope you are the right one for this. i was stress testing physics a lot and the CreateRigidBodies job peeked my interest. there's a NativeParallelHashMap<Entity, int>.ParallelWriter EntityBodyIndexMap that is very expensive and only used for reading in a subsequent job CreateJoints which is never called when numJoints is 0. removing this saves a LOT of job time so i hope you can find ways to optimize this.
{quote}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI performance degradation when a graph asset has hidden VisualElements
- The CaptureScreenshot method scales UI incorrectly when using an orthographic camera and both superSize and canvas planeDistance are above 1
- URP Render Graph's ColorGradingLUT pass causes GC.Alloc every frame when a custom lookup texture is provided
- [Android] Player with the specific Video clip crashes on "/apex/com.android.runtime/lib/bionic/libc.so (__memcpy_a53+96)" when the video is bundled with other video clips and Codec is set to VP8
- The Console window is not cleared when scripts are recompiled and the "Clear on Recompile" option is enabled
Add comment