#Compile Error

12 messages · Page 1 of 1 (latest)

old bear
#

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?)

digital iris
#

Hi there, did you remove the old FishNet version before importing the new one?

old bear
#

Yup delete full directory

#

#if DEVELOPMENT
public string SceneName = string.Empty;
public string ObjectName = string.Empty;
#endif

digital iris
#

Are you using the FishNet Pro unitypackage from the firstgeargames website?

old bear
#

ObjectCaching.cs l 586

#

firstgeargames website

digital iris
#

Hm, I'm not getting any compile error on my side

#

Does restarting the Unity editor work for you?

old bear
#

I just remove the if developpement and it work

digital iris
untold sand
#

I've left an additional comment on this issue with more details. Seems like this could have been a refactoring oversight.