Bolt Basic Tut 3 Errors ???
grfxman
✭
in Photon Bolt
Bolt Basic tut 3 won't compile for me:
https://doc.photonengine.com/en-us/bolt/current/getting-started/bolt-103-events
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2133,14): (Location of the symbol related to previous error)
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2404,16): error CS0101: The namespace `global::' already contains a definition for `LogEvent_Meta'
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2252,16): (Location of the symbol related to previous error)
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2461,18): error CS0101: The namespace `global::' already contains a definition for `ILogEventListener'
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2320,18): (Location of the symbol related to previous error)
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
Compilation failed: 3 error(s), 0 warnings
UnityEngine.Debug:Log(Object)
BoltUserAssemblyCompiler:OutputDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
It's also showing a script error. I copied and pasted the scripts, So I am not sure why and what I messed up.
Assets/Tutorial/Scripts/ServerCallbacks.cs(5,14): error CS0101: The namespace `global::' already contains a definition for `ServerCallbacks'
https://doc.photonengine.com/en-us/bolt/current/getting-started/bolt-103-events
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2133,14): (Location of the symbol related to previous error)
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2404,16): error CS0101: The namespace `global::' already contains a definition for `LogEvent_Meta'
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2252,16): (Location of the symbol related to previous error)
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2461,18): error CS0101: The namespace `global::' already contains a definition for `ILogEventListener'
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
F:\PROJECTS_UNITY\BOLT_TUTS\BOLT_TUT_01_001\Temp\bolt\project.cs(2320,18): (Location of the symbol related to previous error)
UnityEngine.Debug:LogError(Object)
BoltUserAssemblyCompiler:ErrorDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
Compilation failed: 3 error(s), 0 warnings
UnityEngine.Debug:Log(Object)
BoltUserAssemblyCompiler:OutputDataReceived(Object, DataReceivedEventArgs)
System.Diagnostics.ProcessAsyncReader:AddInput()
It's also showing a script error. I copied and pasted the scripts, So I am not sure why and what I messed up.
Assets/Tutorial/Scripts/ServerCallbacks.cs(5,14): error CS0101: The namespace `global::' already contains a definition for `ServerCallbacks'
0
Best Answers
-
Can you send us your project? For that script you should name it something else if a script with that name already exists.5
-
From email:
"I found the issue, when I did the install I also installed the "Samples" and it added a LogEvent event, so when the tutorial had me create another LogEvent event they were in conflict. I realize the tutorial didnt explicitly say to install the Samples but when you are in there correcting the header issue I mentioned in my previous email you may also want to add at the beginning to not install the samples until after you do the tutorials, or add in tutorial 103 that if you have added the samples there will already be a LogEvent that you can edit or delete but not to create a second one. "5
Answers
-
Can you send us your project? For that script you should name it something else if a script with that name already exists.5
-
I had this same issue, the problem is if you install the "Samples" beforehand it already adds an event called LogEvent, so you will either need to edit or delete that one, or create a new one with a different name so they don't conflict with each other.0
-
From email:
"I found the issue, when I did the install I also installed the "Samples" and it added a LogEvent event, so when the tutorial had me create another LogEvent event they were in conflict. I realize the tutorial didnt explicitly say to install the Samples but when you are in there correcting the header issue I mentioned in my previous email you may also want to add at the beginning to not install the samples until after you do the tutorials, or add in tutorial 103 that if you have added the samples there will already be a LogEvent that you can edit or delete but not to create a second one. "5