Hi,
For the past two weeks I am facing this issue whenever I try to build my project using unity cloud build.
Here is the log:
680: [Unity] UnityException: GetBool is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject ‘WelcomeWindow’.
681: [Unity] Rethrow as TypeInitializationException: An exception was thrown by the type initializer for RelationsInspector.WelcomeWindow
682: [Unity] Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
683: [Unity] UnityException: GetBool is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject ‘WelcomeWindow’.
684: [Unity] Rethrow as TypeInitializationException: An exception was thrown by the type initializer for RelationsInspector.WelcomeWindow
685: [Unity] Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
686: [Unity] UnityException: GetBool is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject ‘WelcomeWindow’.
687: [Unity] Rethrow as TypeInitializationException: An exception was thrown by the type initializer for RelationsInspector.WelcomeWindow
688: [Unity] Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
689: [Unity] UnityException: GetBool is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject ‘WelcomeWindow’.
690: [Unity] Rethrow as TypeInitializationException: An exception was thrown by the type initializer for RelationsInspector.WelcomeWindow
691: [Unity] Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
692: [Unity] UnityEngine.Debug:LogWarning(Object)
693: [Unity] Player export failed. Reason: 4 errors
694: ! build of ‘default-ios-new’ failed. compile failed
695: publishing finished successfully.
696: Finished: FAILURE
I have tried almost all the things available in google …
Please advise.
Regards,