Unity 5.4 support

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Iegor
Posts: 5
Joined: Thu Jun 09, 2016 11:33 am

Unity 5.4 support

Post 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
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity 5.4 support

Post 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.
irve
Posts: 53
Joined: Fri Jan 15, 2016 9:35 am

Re: Unity 5.4 support

Post by irve »

We converted to 5.4 a week ago and the core part seems to work for us without any glitches so far.
Iegor
Posts: 5
Joined: Thu Jun 09, 2016 11:33 am

Re: Unity 5.4 support

Post by Iegor »

Good to know!
Thanks for quick reply.
Regarding 1.6.6.1 I'm rocking it actually. Error seems to be present.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity 5.4 support

Post by Tony Li »

Got it. I'll make sure the error and warning messages are gone in the next release.
Post Reply