Sirenix.OdinInspector.CompatibilityLayer.asmdef can be deleted
Issue #732
resolved
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 (2)
-
-
- changed status to resolved
This issue has been resolved with patch 3.0.6 - this assembly definition will be disabled when toggling Editor Only Mode.
- Log in to comment
I also discovered this problem.
It appears if you enable
EditorOnlyMode
in the OdinInspector settings