No attribute with the name 'PunRPC' or 'PunRPCAttribute' was
Options
Comments
-
Hi,
Do new project with PUN imported works for you? If yes, maybe something in you code conflicts with PUN as in thread viewtopic.php?f=17&t=6232&p=23794&hilit=PunRPCAttribute#p23797
Is this compile or runtime error? What is the error position in code, do you have stack trace?0 -
It seems Unity sometimes doesn't import updated packages very well. This is not the first time we had a similar issue, which doesn't happen when you import the same package in a new, empty project and run the demos.
In doubt, check if your project has the file RPC.cs and re-import PUN (or only that file) if it doesn't.
0 -
I posted some info:
http://forum.photonengine.com/discussion/6317/punrpc-help#latest0