Error: InvalidOperationException: Type ControllerPrototype has not been weaved.
Cause
NetworkProjectConfig.Fusion is not in its default location. Primarily because the Photon folder has been moved.
Solutions
-
move the file to its original location, which is in :
[ProjectRoot]\Assets\Photon\Fusion\Resources\NetworkProjectConfig.fusion -
Or edit the path in
Fusion.CodeGen.User.csfile, which is located in…\Photon\FusionCodeGen\Fusion.CodeGen.User.cs. Override the path to the new location ofNetworkProjectConfig.Fusion. Credits to @Fadhli Hibatul Haqqistatic partial void OverrideNetworkProjectConfigPath(ref string path) { path = ""; //Input the new path of NetworkProjectConfig.Fusion here }
No Comments