Should work without restarting the editor. Can you post a simple library class file and 1 or 2 scripts that could help to reproduce the problem? Menu Edit -> Forum copy.
I tested this. Works without restarting the editor.
1. Create a library project with 1 class file:
2. Click the Compile button.
3. Create a script and add the assembly file (Properties -> Assembly...).
4. Run the script. It prints 1.
5. In the class file replace 1 with 2. Compile again.
6. Again run the script. No errors. It prints 2.
I tested this. Works without restarting the editor.
1. Create a library project with 1 class file:
C# code:
// class "Library3.cs" /*/ role classLibrary; outputPath %folders.ThisApp%\Libraries; /*/
using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")]
namespace Library3 {
public class Class1 {
public static void Function1() {
print.it(1);
}
}
}
2. Click the Compile button.
3. Create a script and add the assembly file (Properties -> Assembly...).
C# code:
// script "" /*/ r Libraries\Library3.dll; /*/
Library3.Class1.Function1();
4. Run the script. It prints 1.
5. In the class file replace 1 with 2. Compile again.
6. Again run the script. No errors. It prints 2.