error CS0103: The name 'PhotonEditorUtils' does not exist in the current context
Regards,
Stephen
Comments
-
Commenting out the effected lines seems to have solved the issue but feels wrong0
-
Do you mind explaining how you fixed this a bit more?0
-
Hi @Stephen, @maxmark888,
Thank you for choosing Photon!
We are aware of this issue which is due to some files that were deleted from PUN2 which is included in Photon Voice 2. Those files are editor scripts that Photon Voice 2 depends on.
In order to fix this, the best way is to delete "Assets/Photon" folder and re import Photon Voice 2.We will try to make this go away in the next version so updates won't cause this anymore hopefully.
Thank you for your understanding and patience!
0 -
Thank you. So do I reimport all the photon files? (photon voice and normal photon)0
-
Well after deleting root Photon folder you won't have any Photon file in your project.
We always recommend importing Photon Voice 2 package only if you need PUN2 and Photon Voice 2 and not import PUN2 separately.
So import everything from Photon Voice 2 or just the files you need if you want to exclude some.0 -
Alright. Thanks for the help. If I get an error, I'll wait for the update. How long do you think until the update?0
-
maxmark888 wrote: »Do you mind explaining how you fixed this a bit more?
This resolved the issue although I'm not sure how damaging it could be later down the line, but at least I don't have to reorganize my entire project because I started out without Voice2:
https://imgur.com/HxG31rt
https://imgur.com/PulBaaA
https://imgur.com/WT8eyFg
The files they come from are stated above in my last message, hope it helps.0 -
The solution here is to do a clean import.0