Missing #if UNITY_EDITOR in GlobalConfig.cs

Issue #267 resolved
Former user 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. Tor Esa Vestergaard

    Thanks for the heads-up! We were already familiar with this one, and there's a fix in the next patch.

  2. Log in to comment