Sirenix.OdinInspector.CompatibilityLayer.asmdef can be deleted

Issue #732 new
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 3.0.2.0 in Edit Only mode on Unity 2020.1.8f1 on Windows 10.

Comments (1)

  1. Aleksandr Ladenko

    I also discovered this problem.

    It appears if you enable EditorOnlyMode in the OdinInspector settings

  2. Log in to comment