Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.0.0
1.3.X - Entities
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}
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
- Assert error is thrown when the Editor language is set to one of the experimental ones in an HDRP project
- A BatchDrawCommand is using a pass from the shader “Universal Render Pipeline/Particles/Lit” that is not SRP Batcher compatible
- The Scene does not get rendered in the Player when MSAA is enabled and more than one Camera is used
- Crash on mono_object_get_class when generating Font Atlas of a specific font file
- GPU usage doubles when a project is running in the background
Resolution Note:
Won't fix for now as performance is not seriously affected.