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

Package: Unity Physics

-

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}

  1. Resolution Note:

    Won't fix for now as performance is not seriously affected.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.