News: Enjoy our Christmas offer 30% off on our latest package Tower Defense Level Kit

  • February 16, 2019, 06:25:45 AM

Login with username, password and session length

Author Topic: Fatal error in 2017.3:  (Read 834 times)

Offline dragon

  • Newbie
  • *
  • Posts: 1
Fatal error in 2017.3:
« on: January 16, 2018, 12:25:12 PM »
Problem in 2017.3:

This asset uses...obsolete APIs.

Fatal error in 2017.3:

Assets/EasyTouchBundle/EasyTouch/Plugins/Editor/EasyTouchWelcomeScreen.cs(179,39): error CS0619: `UnityEngine.EventType.mouseDown' is obsolete: `Use MouseDown instead (UnityUpgradable) -> MouseDown'

If I run the Unity updater, this error goes away. It seems odd that the asset has obsolete code.


There are 8 different Fatal errors in 2017.3 related to the "East Touch Welcome Screen" scriptable object. There are too many for me to list them all, but here is one:

UnityException: GetBool is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'EasyTouchWelcomeScreen'.
See "Script Serialization" page in the Unity Manual for further details.
EasyTouchWelcomeScreen..cctor () (at Assets/EasyTouchBundle/EasyTouch/Plugins/Editor/EasyTouchWelcomeScreen.cs:79)
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for EasyTouchWelcomeScreen
System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (RuntimeTypeHandle type) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs:101)
UnityEditor.EditorAssemblies.ProcessEditorInitializeOnLoad (System.Type type) (at C:/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:136)

Offline Nicolas

  • Administrator
  • Hero Member
  • *****
  • Posts: 792
Re: Fatal error in 2017.3:
« Reply #1 on: January 30, 2018, 07:01:01 AM »

It's fixed, donwload EasyTouch from assetstore.