BoltEngine / Bolt-Tracker

New issue tracker for Photon Bolt
10 stars 2 forks source link

Can't Compile Assembly #184

Closed MertKalkanci closed 2 years ago

MertKalkanci commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

I can't compile bolt assembly since I updated Unity to the 2022.1.8f1 version. Even if we connect the same room with my teammate we can't see each other, other users prefabs are not instanced.

To Reproduce Steps to reproduce the behavior: Click on Bolt Compile Assembly.

Expected behavior Compile bolt assembly

Actual behavior When I click on bolt compile gives these errors: 1 ) C:\Users\mertk\Documents\Github\Unity\rallyseason2022\Rally Season 2022\Temp\bolt\project.cs(652,59): error CS0012: The type System.Object' is defined in an assembly that is not referenced. Consider adding a reference to assemblynetstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' UnityEngine.Debug:LogError (object) Photon.Bolt.Editor.Compiler.BoltUserAssemblyCompiler:ErrorDataReceived (object,System.Diagnostics.DataReceivedEventArgs) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

2 ) C:/Program Files/Unity/Hub/Editor/2022.1.8f1/Editor/Data\Managed\UnityEngine\UnityEngine.CoreModule.dll (Location of the symbol related to previous error) UnityEngine.Debug:LogError (object) Photon.Bolt.Editor.Compiler.BoltUserAssemblyCompiler:ErrorDataReceived (object,System.Diagnostics.DataReceivedEventArgs) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

3 ) C:\Users\mertk\Documents\Github\Unity\rallyseason2022\Rally Season 2022\Temp\bolt\project.cs(20,8): error CS0012: The type System.IEquatable1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' UnityEngine.Debug:LogError (object) Photon.Bolt.Editor.Compiler.BoltUserAssemblyCompiler:ErrorDataReceived (object,System.Diagnostics.DataReceivedEventArgs) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

4 ) C:\Users\mertk\Documents\Github\Unity\rallyseason2022\Rally Season 2022\Temp\bolt\project.cs(20,8): error CS0012: The type System.IFormattable' is defined in an assembly that is not referenced. Consider adding a reference to assemblynetstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' UnityEngine.Debug:LogError (object) Photon.Bolt.Editor.Compiler.BoltUserAssemblyCompiler:ErrorDataReceived (object,System.Diagnostics.DataReceivedEventArgs) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Screenshots image image image

Desktop (If applicable, please complete the following information):

Additional context

MertKalkanci commented 2 years ago

Fixed it. When I run the "find missing files" option it showed that 3 scripts missing. Reimported photon bolt. Probably a little file corruption happened when I cloned my disk.