does not result in CompilationPipeline.assemblyCompilationFinished being invoked.
Instead, it calls: CompilationPipeline.assemblyCompilationNotRequired
So how am I supposed to force a recompile to get warning messages?
AFAIK, you only get this information from CompilationPipeline.assemblyCompilationFinished ?
The docs say to use RequestScriptCompilationOptions.CleanBuildCache. But that isn’t working for me.
Will submit a bug
Just an idea, at least it could be a workaround. There are folders in Library and Obj (the latter probably entirely) that contain compilation artifacts. You could simply delete those folders and Unity would have no compile cache and thus do a full recompile.
Yeah that could work. I might try a different approach where I save a persistent cache of assembly messages, then check if the cache isn’t storing all assemblies and automatically delete and recompile those that aren’t cached yet.
But really, Unity should be doing this already when asking for a clear script cache