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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note:
Won't fix for now as performance is not seriously affected.