Photon PUN2 Unity compiler warnings after updating to latest version on Asset Store (2.8)
Options
I updated PUN2 from the Unity Asset store to version 2.8 (Mar 15, 2019). I had the version installed just prior to this one. Now I am receiving these warnings, please advise:
Overriding existing asset with new GUID from package, this may break links within your project to package assets (Assets/Photon/PhotonLibs/Metro/Photon3Unity3D.dll.mdb)
Assets/Photon/PhotonRealtime/Code/RegionHandler.cs(82,24): warning CS0219: The variable `result' is assigned but its value is never used
Assets/Photon/PhotonRealtime/Code/RegionHandler.cs(83,21): warning CS0219: The variable `bestRtt' is assigned but its value is never used
Overriding existing asset with new GUID from package, this may break links within your project to package assets (Assets/Photon/PhotonLibs/Metro/Photon3Unity3D.dll.mdb)
Assets/Photon/PhotonRealtime/Code/RegionHandler.cs(82,24): warning CS0219: The variable `result' is assigned but its value is never used
Assets/Photon/PhotonRealtime/Code/RegionHandler.cs(83,21): warning CS0219: The variable `bestRtt' is assigned but its value is never used
0
Comments
-
Assets\Photon\PhotonRealtime\Code\RegionHandler.cs(473,22): warning CS0219: The variable 'overtime' is assigned but its value is never used
Unity 2021.3.17f1
PUN 2 Version 2.41 - August 02, 2022
0 -
The "issues" above are warnings, not errors. They are not really relevant when building the project.
Use the Migration Notes when you upgrade and consider updating to Fusion (as PUN 2 is also in LTS / maintenance mode).
Sorry, I also have to point out a few things:
a) Don't tag anyone of the Photon team.
b) Don't resurrect old threads, unless you are 100% sure you have the exact same issue.
c) State the exact issue you have (don't make us guess which of the issues discussed above are the ones you have)...
0