Page 1 of 1

Unity 5.4 support

Posted: Thu Aug 04, 2016 4:52 am
by Iegor
Hi!
We are receiving errors on new unity version. 5.4f3

Code: Select all

get_skinIndex is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'DialogueEditorWindow'.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.EditorGUIUtility:get_isProSkin()
PixelCrushers.DialogueSystem.TemplateTools:FromDefault()
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:.ctor()
and

Code: Select all

get_isPlayingOrWillChangePlaymode is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'WelcomeWindow'.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.EditorApplication:get_isPlayingOrWillChangePlaymode()
PixelCrushers.DialogueSystem.WelcomeWindow:.cctor() (at Assets/Dialogue System/Scripts/Editor/Wizards/WelcomeWindow.cs:31)
also warning in class that derives from AbstractDialogueUI

Code: Select all

OnLevelWasLoaded was found on DialogueSystemUI
This message has been deprecated and will be removed in a later version of Unity.
Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed

When do you plan updates?

Best regards,
Iegor

Re: Unity 5.4 support

Posted: Thu Aug 04, 2016 8:44 am
by Tony Li
Hi Iegor,

Thanks for reporting the errors. The "get_skinIndex" errors are superficial (they won't break anything) and will be fixed in the upcoming 1.6.6.2.

The warning from AbstractDialogueUI is already fixed in 1.6.6.1.

Re: Unity 5.4 support

Posted: Fri Aug 05, 2016 3:23 am
by irve
We converted to 5.4 a week ago and the core part seems to work for us without any glitches so far.

Re: Unity 5.4 support

Posted: Fri Aug 05, 2016 5:04 am
by Iegor
Good to know!
Thanks for quick reply.
Regarding 1.6.6.1 I'm rocking it actually. Error seems to be present.

Re: Unity 5.4 support

Posted: Fri Aug 05, 2016 9:15 am
by Tony Li
Got it. I'll make sure the error and warning messages are gone in the next release.