`SceneManager' error after update

More
2 years 1 month ago - 2 years 1 month ago #2261 by Sarr
Hello,

I've just updated I2 Localization through Unity's updater (after removing folders Common and Localization).
Now I get error:
Assets/I2/Common/Editor/EditorTools.cs(533,12): error CS0103: The name `SceneManager' does not exist in the current context
Don't really know how to solve it.

Could you help a bit?

EDIT: Wow, it seems you forgot to add "using UnityEngine.SceneManagement;" on top of that script. After adding that line, no errors yet.
Last edit: 2 years 1 month ago by Sarr.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #2262 by Frank
Hi,
There was a last minute change in that version, that caused that error.

You can fix it by downloaded 2.6.12f2 from the beta folder (I already submitted it to the AssetStore, but will take a few days to be approved)

Nonetheless, a manual way of fixing it is by replacing the first line in the EditorTools.cs by this one:
#if !(UNITY_4_6 || UNITY_4_7 || UNITY_4_8 || UNITY_4_9 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2)
    using UnityEngine.SceneManagement;
#endif

Version 2.6.12f2 also has a few other other fixes/improvements.
Hope that helps,
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out

Please Log in or Create an account to join the conversation.

Time to create page: 0.128 seconds
Template by JoomlaShine