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.
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Won't fix for now as performance is not seriously affected.