- Home /
Question by
ScotchNail · Jul 31, 2019 at 01:44 AM ·
exceptionassemblydefinition
Unable to find default assembly after adding a new assembly definition.
I need to create a new Assembly Definition for my scripts so that I can use them for unit testing. After adding a new definition file (Create -> Assembly Definition) Scripts.asmdef in my scripts folder, I get a SerializationException during runtime.
SerializationException: Unable to find assembly 'Assembly-CSharp, Version=0.0.0.0m Culture=neutral...
From the Unity documentation, 'Assembly-CSharp' is the default assembly that Unity creates for your scripts.
What is causing this exception to happen during runtime? Are there any additional settings I need to set in Unity to use the new assembly that I created?
Comment