Skip to content
Discussion options

You must be logged in to vote

Another optimization that could be made is ensuring your scripting backend is set to IL2CPP, rather than Mono, which you can change under Edit -> Project Settings -> Player -> Other Settings -> Scripting Backend. IL2CPP will incur (typically) longer build times but better (typically) runtime performance.

However, given that in-editor and runtime performance can vary widely between devices/hardware, 1.5ms doesn't sound far off from what we'd expect here. Some work is done for each UIBlock whenever it's enabled/disabled, either directly or because an ancestor was enabled/disabled, so that 1.5ms is actually a measurement of 161 object activations/deactivations (40 * 4 = 160 and then +1 for t…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@belgarion01
Comment options

@adgray1
Comment options

Answer selected by belgarion01
@belgarion01
Comment options

@adgray1
Comment options

Comment options

You must be logged in to vote
3 replies
@belgarion01
Comment options

@metallibus
Comment options

@belgarion01
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants