Cannot Fix

Awake causes bottleneck in Async Scene Loading

Steven Wong 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 1


I get a huge lags pike when I loading a scene async with a object containing a state machine. I will causes huge lag especially running it in a low / middle grade Android Phone.

Any methods so we can do to reduce this lag? (We use different scenes to contain different UI, so the player feel un-responsive while play our game)


Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Cannot Fix

Hi Steven,

Sorry you're experiencing this issue. Unfortunately, I believe this performance cost is a hard limitation of Bolt 1. We cached a lot of things on Awake to make sure everything runs very fast at each frame.

In Bolt 2, which is currently in Alpha, we generate C# scripts instead of using reflection at runtime. This will actually entirely eliminate the cost of Awake that you're seeing here.