Open joaokucera opened 1 year ago
Prior to Unity 2019.3, the UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface.DirtyAllScripts
method existed and was used through reflection to force a recompilation. But now there is a public "preferred" way to do it without using reflection which is UnityEditor.Compilation.CompilationPipeline.RequestScriptCompilation
.
Describe the bug
To Reproduce I have added ZenjectReflectionBakingSettings and pressed the checkbox "Is Enabled In Editor".
Expected behavior No exception and recompile Unity.
Extenject and Unity info (please complete the following information):
Additional context
dirtyAllScriptsMethod
variables is null in the method below:Also, I have many
asmdef
files in my project, would it be an issue?