2D Toolkit Forum

2D Toolkit => Support => Topic started by: PureArtist on September 10, 2016, 01:28:03 pm

Title: Error when creating a new 2D project!
Post by: PureArtist on September 10, 2016, 01:28:03 pm
Hi I an receiving these error in the console when creating a new 2D project!  :'(

Code: [Select]
Removed unparented EditorWindow while reading window layout: window #14, type=UnityEditor.FallbackEditorWindow, instanceID=14592
UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)

Code: [Select]
Removed unparented EditorWindow while reading window layout: window #15, type=UnityEditor.FallbackEditorWindow, instanceID=14594
UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)

Code: [Select]
Assets/TK2DROOT/tk2d/Code/Camera/tk2dCamera.cs(657,113): warning CS0618: `UnityEngine.RuntimePlatform.WindowsWebPlayer' is obsolete: `WebPlayer export is no longer supported in Unity 5.4+.'

Code: [Select]
Assets/TK2DROOT/tk2dTileMap_demo/Demo1/Scripts/tk2dTileMapDemoPlayer.cs(34,175): warning CS0618: `UnityEngine.RuntimePlatform.WindowsWebPlayer' is obsolete: `WebPlayer export is no longer supported in Unity 5.4+.'

Code: [Select]
Assets/TK2DROOT/tk2dTileMap_demo/Demo1/Scripts/tk2dTileMapDemoPlayer.cs(35,171): warning CS0618: `UnityEngine.RuntimePlatform.OSXWebPlayer' is obsolete: `WebPlayer export is no longer supported in Unity 5.4+.'

Code: [Select]
Assets/TK2DROOT/tk2d/Editor/tk2dUpdateWindow.cs(41,78): warning CS0618: `UnityEditor.BuildTarget.WebPlayer' is obsolete: `WebPlayer has been removed in 5.4'

Code: [Select]
Assets/TK2DROOT/tk2d/Editor/tk2dUpdateWindow.cs(42,82): warning CS0618: `UnityEditor.BuildTarget.WebPlayerStreamed' is obsolete: `WebPlayerStreamed has been removed in 5.4'

HELP! ASAP.
Title: Re: Error when creating a new 2D project!
Post by: unikronsoftware on September 10, 2016, 03:15:47 pm
Hi there,

I haven't uploaded the unity 5.4 version of tk2d yet - these aren't errors just warnings, they're safe to ignore. The next update will get rid of those messages (we will still support webplayer as a platform on older versions of unity (pre 5.4), so will define around them to avoid the warnings)