Issues while switching from Debug to Release

Options
jgalt
jgalt
edited December 2016 in Photon Bolt
I have recently looked at an old project that had Bolt v0.4.3.12 release setup. I upgraded to the latest version 0.4.3.19 debug version. After doing some minor tweaks, everything works as expected.

However, now I am having issues while switching from Debug to Release. All BoltEntity components on my prefabs and scene gameobjects go "missing" and bolt's prefab database is empty.

One solution for this is that I have to manually add a Bolt Entity component again to every object. This is an extremely tedious solution and I would like to know if there's a better one.

Edit : Getting this error after switching and then clicking "Install Bolt"

Mono.CompilerServices.SymbolWriter.MonoSymbolFileException: Symbol file `C:\Users\Vivek\Documents\core-game-new\Assets\bolt\assemblies\bolt.user.dll.mdb' does not match assembly at Mono.CompilerServices.SymbolWriter.MonoSymbolFile.ReadSymbolFile (System.String mdbFilename, Guid assemblyGuid) <0x2bafe70 + 0x000f3> in <filename unknown>:0 at Mono.Cecil.Mdb.MdbReaderProvider.GetSymbolReader (Mono.Cecil.ModuleDefinition module, System.String fileName) <0x2bafdc0 + 0x00063> in <filename unknown>:0 at Mono.Cecil.ModuleReader.ReadSymbols (Mono.Cecil.ModuleDefinition module, Mono.Cecil.ReaderParameters parameters) <0x2b87c60 + 0x00064> in <filename unknown>:0 at Mono.Cecil.ModuleReader.CreateModuleFrom (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) <0x2b84c58 + 0x0009b> in <filename unknown>:0 at Mono.Cecil.ModuleDefinition.ReadModule (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) <0x2b7f728 + 0x0005b> in <filename unknown>:0 at Mono.Cecil.AssemblyDefinition.ReadAssembly (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) <0x2bafd50 + 0x0001b> in <filename unknown>:0 at AssemblyUpdater.Core.AssemblyUpdaterContext.ReadAssembly (System.String assemblyPath, IAPIUpdaterListener listener, FileAccess mode, System.String[] searchPaths) <0x2bad820 + 0x0014b> in <filename unknown>:0 at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, IConfigurationProvider configuration, System.String[] assemblySearchPaths, UpdaterMode mode, IAPIUpdaterListener listener) <0x2bad738 + 0x00073> in <filename unknown>:0 at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, System.String[] assemblySearchPaths, UpdaterMode mode, IAPIUpdaterListener listener) <0x2bad6f8 + 0x0002f> in <filename unknown>:0 at AssemblyUpdater.Application.Program.CheckForObsoleteAPIUsage (AssemblyUpdater.Application.CommandLineSpec config) <0x2b8eec8 + 0x00043> in <filename unknown>:0 at AssemblyUpdater.Application.Program.Main (System.String[] args) <0x2b30f18 + 0x000fb> in <filename unknown>:0 UnityEditor.AssetDatabase:ImportAsset(String, ImportAssetOptions) BoltUserAssemblyCompiler:CompilationDone(BoltCompilerOperation) <>c__DisplayClass4:<RunCSharpCompiler>b__3() BoltEditor.Internal.EditorHousekeeping:InvokeCallbacks() BoltEditor.Internal.EditorHousekeeping:Update() UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Comments