ManlyMarco / RuntimeUnityEditor

In-game inspector and debugging tools for applications made with Unity3D game engine
GNU General Public License v3.0
773 stars 98 forks source link

Very low fps on Subnautica 2.0 #34

Closed HenryJk closed 1 year ago

HenryJk commented 1 year ago

When runtime editor shows on screen, the fps goes down to single digit. This does not happen on a popular fork of RuntimeEditor for subnautica. Subnautica the game has just been updated in a way that breaks most mods also so this fork does not work on latest version of subnautica either.

ManlyMarco commented 1 year ago

Can you send the game log when runtime editor is running?

ManlyMarco commented 1 year ago

I tried it with the latest version and the performance impact wasn't that heavy even with everything open at once. Make sure you are using latest versions of everything.

Annotation 2022-12-21 140350

Please reopen the issue and let me know exactly how to reproduce the issue if it persists.

HenryJk commented 1 year ago

The slowdown only happen on gameplay, not on main menu. After retesting it, I find out that only Object Browser create this slowdown, attached is my save file you can try and a screenshot SavedGames.zip Screenshot from 2022-12-21 22-01-58

Additional info if you need, when this slowdown happen, only a single core of my cpu run at 100% while during normal gameplay, it is equally shared between 3 cores (I set core affinity for subnautica)

ManlyMarco commented 1 year ago

Confirmed.

ManlyMarco commented 1 year ago

Can you test if this build fixes the performance issues for you? Look out for any issues related to the object list too. rue test list optimization.zip

ManlyMarco commented 1 year ago

Improved version rue test list optimization 2.zip Changes: 6809995bb19d397a98c0e9a432db98dc77be7c32 2d38fdf6cf850366c28d662993ad663a7426948a

HenryJk commented 1 year ago

Problem gone, thank you