I've been getting warnings in VSCode similar to other users (who posted in Discord) in regards to warning CS0436 which I believe is due to a structure change in Bolt and compiled assemblies.
Compiler Warning
The type 'GlobalEventListener' in `<path>\Temp\bolt\project.cs' conflicts with the imported type 'GlobalEventListener' in 'PhotonRealtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '<path>\Temp\bolt\project.cs'. (CS0436) [Assembly-CSharp]
Example Code
public class NetworkCallbacks : Bolt.GlobalEventListener
{
public override void SceneLoadLocalDone(string map)
{
BoltNetwork.Instantiate(BoltPrefabs.CharacterEntity, Vector3.zero, Quaternion.identity);
}
}
I've been getting warnings in VSCode similar to other users (who posted in Discord) in regards to warning
CS0436
which I believe is due to a structure change in Bolt and compiled assemblies.Compiler Warning
Example Code
Ugly Editor Highlighting Screencap https://gyazo.com/1f9e4b198164dd985516fd8360056444
How to reproduce issue
GlobalEventListener
Expected Behavior
No compiler warnings
Configuration