playMaker

Author Topic: PhotonNetworkDestroy.cs Parsing Error  (Read 6511 times)

Elvis

  • Playmaker Newbie
  • *
  • Posts: 4
PhotonNetworkDestroy.cs Parsing Error
« on: February 07, 2014, 02:47:05 AM »
Hi,

I got a error like "Assets/Photon Unity Networking/PlayMaker/Actions/PhotonNetworkDestroy.cs(43,9): error CS8025: Parsing error" when I just import the Playmaker v1.7.7 from store to unity engine.

Even I didn't do anything the error just happened.
Can anyone tell me how to fix this problem?

Thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #1 on: February 07, 2014, 06:11:24 AM »
Hi,

 Is this the only error? you should have one error prior that as well.

bye,

 Jean

Elvis

  • Playmaker Newbie
  • *
  • Posts: 4
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #2 on: February 11, 2014, 09:27:28 PM »
Yes, there has one warring before this error.
It's "There are inconsistent line endings in the 'Assets/PlayMaker/Actions/DebugDrawShape.cs' script. Some are Mac OS X (UNIX) and some are Windows.
This might lead to incorrect line numbers in stacktraces and compiler errors. Many text editors can fix this using Convert Line Endings menu commands.
".

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #3 on: February 11, 2014, 11:43:43 PM »
Hi,

 can you try on a fresh project. the line ending warning is not critical at all, just cosmetic. If you still get an error, tell me.

bye,

 Jean

Elvis

  • Playmaker Newbie
  • *
  • Posts: 4
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #4 on: February 14, 2014, 01:06:23 AM »
Yes, I create a new empty project and import the playmaker from store again.
However, it still has a error right here.
please following the link to see the screenshots.

https://dl.dropboxusercontent.com/u/59767605/error/1.png
https://dl.dropboxusercontent.com/u/59767605/error/2.png

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #5 on: February 14, 2014, 05:23:18 AM »
Hi,

 can you zip that project and send it to me? cause here I create a clean fresh project, import playmaker from the asset store and I have no errors.

bye,

 JEan

Elvis

  • Playmaker Newbie
  • *
  • Posts: 4
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #6 on: February 18, 2014, 01:20:24 AM »
I just have sent you a project as zip via email
please take a look, thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #7 on: February 24, 2014, 07:47:48 AM »
Hi,

 What's your email? I can't trace it.

bye,

 Jean

riuku

  • Playmaker Newbie
  • *
  • Posts: 1
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #8 on: February 28, 2014, 08:30:43 AM »
Hi ,

I got the same problem. I am using Unity3D 4.3.4f1

Thanks,

Riuku

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #9 on: March 04, 2014, 07:46:14 AM »
I just have sent you a project as zip via email
please take a look, thanks.

Sorry, lost track of that, pm me with your email address, I'll then be able to find it.

bye,

 Jean

JingCheung

  • Playmaker Newbie
  • *
  • Posts: 1
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #10 on: June 28, 2014, 12:05:57 AM »
Hi, i got the same error here with unity 4.5.1f3.

Screencap:
http://screencast.com/t/ZE8H9dKR

Any idea what caused this? PM me if you need further information, thanks.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #11 on: June 28, 2014, 01:16:52 AM »
Unfortunately I have no idea what causes this error.  There's no error in that script and it compiles fine on 99.9% of machines... it's baffling! All I can think is it's a Unity/mono bug...

If you're not using Photon you can delete the Photon Unity Networking folder.

If you are using Photon you could try deleting the Library/ScriptAssemblies folder... perhaps the cache was corrupted somehow... Let me know if that works (since I can't repro this bug on any of our machines).


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #12 on: June 28, 2014, 11:36:30 AM »
Hi,

 This is very odd. I can't reproduce this neither. I'll ask Photon team, maybe they have an history on this.

 Bye,

 Jean

pompom

  • Playmaker Newbie
  • *
  • Posts: 1
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #13 on: September 16, 2014, 09:53:26 AM »
In PhotonNetworkDestroy.cs
Tooltip("Destroys given GameObject. This GameObject must’ve been instantiated using PhotonNetworkInstantiate and must have a PhotonView at it’s root."

The ’ is the the error char. You can change it with '

Hi,

I got a error like "Assets/Photon Unity Networking/PlayMaker/Actions/PhotonNetworkDestroy.cs(43,9): error CS8025: Parsing error" when I just import the Playmaker v1.7.7 from store to unity engine.

Even I didn't do anything the error just happened.
Can anyone tell me how to fix this problem?

Thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #14 on: September 17, 2014, 01:05:55 AM »
hi,

 odd, why is it not firing an error on my computer then? I changed it and will be pushed with the newest package when I'll upload it.

 Bye,

 Jean