Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: ZenDesign on September 02, 2016, 06:45:07 PM
-
Hi,
I'm using Unity 5.4 and Playmaker 1.8.2. I'm getting this error message:
Assets/PlayMaker PUN/Scripts/PlayMakerPhotonGameObjectProxy.cs(83,29): error CS0019: Operator `!=' cannot be applied to operands of type `PhotonMessageInfo' and `null'
Thanks
-
Hi,
yes, an update is coming this week for PlayMaker to comply with the latest iteration of PUN. Thanks for your patience :)
Bye,
Jean
-
Hi,
Update available now :)
Bye,
Jean
-
Hi,
I've updated Playmaker to 1.8.3 and I'm still getting the same error. I created a new project and installed Playmaker, Playmaker PUN and Photon and received the same error message.
Thanks
-
I had to download the files from Github and copy/paste them into the matching assets folders. Also it worked perfectly after I unchecked the Pick Best Server option.
oops here is the link: https://github.com/jeanfabre/PlayMaker--ExitGames--PhotonUnityNetworking_U5
-
Hi All!
I am attempting to add PUN to my game using "Easy PUN Setup Playmaker".
I cannot test/compile due to this error:
Assets/PlayMaker PUN/Scripts/PlayMakerPhotonGameObjectProxy.cs(83,29): error CS0019: Operator `!=' cannot be applied to operands of type `PhotonMessageInfo' and `null'
I am using Unity 5.4.of3 Personal (64bit) and Playmaker 1.8.2
I have attempted reimporting. I also purged all related files and
reinstalled. As well I tried the github suggestion in this thread.
No success so far. I feel stumped. Any other ideas?
Thanks, Jinnn
-
Scratch that I just loaded 5.4.0f3 65bit* imported playmaker 1.8.3, imported photon 1.75, copied the files from the Git(PlayMaker--ExitGames--PhotonUnityNetworking_U5\Assets) and it worked fine. I only copied 5 folders PlayMaker Custom Actions, Custom Samples, PUN, Utils and Plugins. Pasted them directly into my new project and loaded up the worker sample straight away with no errors.
-
I am glad that is working for you. I assume you are importing PlayMakerPUN.unitypackage as well?
I just followed those instructions with the addition of PlayMakerPUN.unitypackage
and still have the error whether I open DemoWorker-Scene or DemoWorkerGame-Scene
It's a fresh project with fresh install of playmaker 1.8.3 and photon v.1.75 with those Git folders copied and pasted over as described.
I only see one error:
Assets/PlayMaker PUN/Scripts/PlayMakerPhotonGameObjectProxy.cs(83,29): error CS0019: Operator `!=' cannot be applied to operands of type `PhotonMessageInfo' and `null'
Anyone who has had experience getting rid of the error, I would appreciate advice.
Thanks, Jin
-
Okay I have replicated the error and gotten rid of it with the steps I listed before. I did not import the PUN package. I will list the steps in the order I did them starting a new project from scratch in unity 5.4.
1. Import and Install Playmaker 1.8.3
2. Import Photon 1.75
3. Go to this link https://github.com/jeanfabre/PlayMaker--ExitGames--PhotonUnityNetworking_U5 Click Clone and Open in Desktop. Choose a folder I put it in a new folder on my desktop called playmakerJIN.
4. I opened up the newly cloned folders and selected 5 folders within the Assets folder. PlayMaker Custom Actions, PlayMaker Custom Samples, PlayMaker PUN, PlayMaker Utils, Plugins.
5. I copy and pasted them into my new project called playmakerJIN Assets folder. Overwriting the current files.
6. I then opened up the DemoWorker scene within the included Custom Samples folder from the GIT clone.
7. setup my photon cloud.
8. clicked on Menu in the Hierarchy, clicked on connect, unchecked Connect to Best Server.
9. Hit Play all is dandy, ignore any errors you may get at first from the copy/paste action from meta files and such.
That is my actual experience for fixing the problem that I also had. Hope it helps. I'll make a video if you need also.
-
Thanks for your detailed answer.
I followed your instructions and did load DemoWorker
without the error from this thread showing up.
When I pressed play though, it didn't work and I saw
many errors show up referring to "missing actions"
I started a new thread about that here:
http://hutonggames.com/playmakerforum/index.php?topic=13547.msg62984#msg62984
Thanks again for trying to help.
-
Hi,
Make sure you download pun from the Ecosystem again. I simply forgot to push the Unity 5 version last time.. d'oh...
Bye,
Jean
-
Thanks! that worked to get rid of that error.
I was unable to access ecosystem all weekend,
but I appreciate your reply and I am happy
that ecosystem is working again too.