Hi, Using Unity 2022.3.41f1 / Fishnet Pro 4.4.2R
Get this error
Assets\FishNet\Runtime\Managing\Client\Object\ObjectCaching.cs(286,106): error CS1061: 'CachedNetworkObject' does not contain a definition for 'SceneName' and no accessible extension method 'SceneName' accepting a first argument of type 'CachedNetworkObject' could be found (are you missing a using directive or an assembly reference?)
#Compile Error
12 messages · Page 1 of 1 (latest)
Hi there, did you remove the old FishNet version before importing the new one?
Yup delete full directory
#if DEVELOPMENT
public string SceneName = string.Empty;
public string ObjectName = string.Empty;
#endif
Are you using the FishNet Pro unitypackage from the firstgeargames website?
Hm, I'm not getting any compile error on my side
Does restarting the Unity editor work for you?
I just remove the if developpement and it work
I've created an issue for it, if there is any missing information please feel free to comment on it. https://github.com/FirstGearGames/FishNet/issues/760
Fixing it will be a priority
I've left an additional comment on this issue with more details. Seems like this could have been a refactoring oversight.