- Home /
Question by
Aleron · Oct 12, 2011 at 05:50 PM ·
reloadasset bundlesassemblies
Editor reloading assemblies and building asset bundles
I have a script that builds an asset bundle using BuildPipeline.BuildStreamedSceneAssetBundle(). After which the editor reloads all of the assemblies, which in turn invalidates the script context of my running script. I've tried calling EditorApplication.LockReloadAssemblies() when first displaying my script UI (in my Init()/ShowWindow() method) and I thought it worked yesterday, but when running the script again this morning the editor reloaded all of the assemblies after the asset bundle was built.
Is anyone aware of something I'm missing or a reason why building an asset bundle would override the EditorApplication setting?
Comment
I'm having the same issue. Did you figure anything out?
Your answer
![](https://koobas.hobune.stream/wayback/20220613005216im_/https://answers.unity.com/themes/thub/images/avi.jpg)