Hey,
I am using assembly definitions to load specific debug utilities in editor and development builds. To strip the debug assembly in production builds I am using the assembly definition constraints as shown in this screenshot:
I specified “UNITY_EDITOR || DEVELOPMENT_BUILD” to include this assembly in editor and development builds. Inside the editor everything works fine. The assembly is loaded and the debug utilities are working fine. When I build a development build of the game the assembly appears in the “Managed” folder, but it seems like the assembly is not loaded. When I start the game, the debug utility is not loaded and the logs of the debug utility are also missing in the log file. If I remove the constraints and build again, everything is working fine.
Is this a bug or am I missing something?