Loadlevel editor error -Tree editor?

ArgumentException: GetLocalizedString can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don’t use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
TreeEditor.TreeGroupBranch…cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for TreeEditor.TreeGroupBranch

Any ideas anyone why the tree editor is having a sulk when using Application.Loadlevel?

1 Like

FWIW the trick is to “edit” the terrain trees, and just reassign the existing tree (in my case at least)

3 Likes

It worked for me too, thanks :slight_smile:

1 Like

OH, GOD! MANY THANKS YOU!

ёбаные тупые криворукие программисты чтоб их разорвало!!!
sorry for not english - indecent word to developers… >:(

1 Like

For me this only works the first time you press play. After that the error returns.

Alternate thread: What does this error mean? - Unity Engine - Unity Discussions

Как ты сделал?
(How did you do?)