playMaker

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

Elvis

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
PhotonNetworkDestroy.cs Parsing Error
« on: February 07, 2014, 12: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: 14819
  • Official Playmaker Support
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #1 on: February 07, 2014, 04: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
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #2 on: February 11, 2014, 07: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: 14819
  • Official Playmaker Support
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #3 on: February 11, 2014, 09: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
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #4 on: February 13, 2014, 11:06:23 PM »
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: 14819
  • Official Playmaker Support
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #5 on: February 14, 2014, 03: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
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #6 on: February 17, 2014, 11:20:24 PM »
I just have sent you a project as zip via email
please take a look, thanks.

jeanfabre

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

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

bye,

 Jean

riuku

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

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

Thanks,

Riuku

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
  • Official Playmaker Support
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #9 on: March 04, 2014, 05: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
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #10 on: June 27, 2014, 09:05:57 PM »
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: 3640
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #11 on: June 27, 2014, 10:16:52 PM »
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: 14819
  • Official Playmaker Support
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #12 on: June 28, 2014, 08: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
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #13 on: September 16, 2014, 06: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: 14819
  • Official Playmaker Support
    • View Profile
Re: PhotonNetworkDestroy.cs Parsing Error
« Reply #14 on: September 16, 2014, 10:05:55 PM »
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