Missing #if UNITY_EDITOR in GlobalConfig.cs

Issue #267 resolved
Anonymous created an issue

I had a Crash in an app to be deployed on mobile decives and had to remove Odin eventually. Today I had time to get back to this problem. The crash still remaind, so I replaced the assemblies version with the source version. Turned out, that there is a

namespace Sirenix.Utilities
{
    using System.IO;
#if UNITY_EDITOR
    using UnityEditor;
#endif
    using UnityEngine;

missing, so compilation failed. I guess, the crash was a binding crash due to this, as Odin now seems to work flawless in the app.

Comments (1)

  1. Log in to comment