Sirenix.OdinInspector.CompatibilityLayer.asmdef can be deleted

Issue #732 resolved
Dan Vicarel created an issue

When reimporting assets or reloading the domain, Unity shows the following warning:

Assembly for Assembly Definition File 'Assets/Plugins/Sirenix/Odin Inspector/Scripts/Sirenix.OdinInspector.CompatibilityLayer.asmdef' will not be compiled, because it has no scripts associated with it.
UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline(EditorScriptCompilationOptions, BuildTargetGroup, BuildTarget, String[])

Clearly, the mentioned Sirenix.OdinInspector.CompatibilityLayer assembly definition has no scripts associated with it. Removing that asmdef file would stop this warning and spare us some noise in the Unity console. 🙂

Tested with Odin in Edit Only mode on Unity 2020.1.8f1 on Windows 10.

Comments (2)

  1. Aleksandr Ladenko

    I also discovered this problem.

    It appears if you enable EditorOnlyMode in the OdinInspector settings

  2. Tor Esa Vestergaard

    This issue has been resolved with patch 3.0.6 - this assembly definition will be disabled when toggling Editor Only Mode.

  3. Log in to comment