Deadcows / MyBox

MyBox is a set of attributes, tools and extensions for Unity
http://deadcow.ru
MIT License
1.94k stars 244 forks source link

PlayMode startup perfomance issue #206

Closed Faimen closed 2 years ago

Faimen commented 2 years ago

Events that are subscribed to launch the game in the editor cause the launch to be delayed by ~15 seconds or more

Ludosis commented 2 years ago

I'm noticing after updating from MyBox 1.5 to 1.7 that my time between hitting Play and actually getting into Play Mode has increased drastically. It often now takes me 5 minutes to play.

MyBox comes up in the progress bar for a long time. image

Disabling the SO check and Prepare on Play brought me back to a reasonable load time.

Deadcows commented 2 years ago

yep guys, sorry for that. In the latest versions SO check and Prepare on Play are disabled by default as it has to scan the whole project to search for specific types. Maybe I'll find some better way in the future, but for now just keep this things disabled