Topic: Some new errors

since 1.7 I'm getting 2 errors with UFE script present on the scene .

1) Internal_Create 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.

2)ArgumentException: Internal_Create 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.
UnityEngine.Texture2D..ctor (Int32 width, Int32 height) (at C:/buildslave/unity/build/artifacts/generated/common/runtime/TextureBindings.gen.cs:126)
HitBoxesScript..ctor ()

I can play the game just fine but still ...
Has anyone seen them ?

Share

Thumbs up Thumbs down

Re: Some new errors

Yes I've seen these errors quite a bit.  If I have some ufe prefabs (a deactivated character, maybe a stage) in the scene  at run time I think it is picking up on that, but I've also seen it some other times where I wasn't sure where it was coming from.  But I haven't noticed any problems or interference with gameplay.

Share

Thumbs up Thumbs down