Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Adding ObiColider To Generated Mesh Is Slow
#2
Hi,

I think yes, what's the problem? If the block-main-thread-time is caused by creation of new object I may pre-create some objects, save them in a pool (maybe 10 objects), when the scene is loaded, and use a thread to monitor&fill that pool until the object number reaches max value (10). When you need a new object in Update() or other place in main thread, just take it from the pool, instead of creating a new one.
Also check which collider you're using. Avoid using mesh collider.
Reply


Messages In This Thread
RE: Adding ObiColider To Generated Mesh Is Slow - by chenji - 08-08-2025, 11:35 AM