playMaker

Author Topic: Is Photon Unity Networking included?  (Read 3414 times)

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
Is Photon Unity Networking included?
« on: December 23, 2013, 04:44:49 AM »
Hi,
just wondering, I recently upgraded PlayMaker via the Asset Store, maybe coincidentally I got LOTS of Console Spam.
Red ones... "show-stoppers"!.
Sorry I cant quote the messages right now, Im on a different computer, but I did notice that some of the spam was referring to Photon, which surprised me, as I didn't think I had installed it in this project (yet). I was even MORE surprised to find that it was there, a folder, Photon Unity Networking. Was this installed WITH PlayMaker? Intentionally?
Looking at a backup, no such folder exists

If it WAS installed at the same time, and intentionally, then I guess I will have to quote you the Console messages, and try to solve these +999 messages!!!


Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Is Photon Unity Networking included?
« Reply #1 on: December 23, 2013, 04:46:53 PM »
Playmaker includes Photon, but it's self contained in one directory. You can delete the Photon directory if you're not using it.

what's the first error you're getting? Often the other errors stem from earlier errors...

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
Re: Is Photon Unity Networking included?
« Reply #2 on: December 24, 2013, 04:25:50 PM »
Hi,
You might wanna check your latest package, cos I definaltely got a folder called Photon Unity Networking LOOSE in assets.

The first error is:

Assets/Photon Unity Networking/Plugins/PhotonNetwork/LoadbalancingPeer.cs(385,42): error CS0117: `ExitGames.Client.Photon.Lite.LiteOpKey' does not contain a definition for `Remove'

then theres some identical ones with different final words like: ´byte´ ´group´ ´add´´remove´... etc


Then later theres a new kind of error: (maybe not be PM related, )
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'DecalSystem.Runtime, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'DecalSystem.Runtime, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'
  at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool)
  at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError, Boolean ignoreCase) [0x00000] in <filename unknown>:0
  at System.Reflection.Assembly.GetType (System.String name) [0x00000] in <filename unknown>:0
  at Mono.CSharp.RootNamespace.GetTypeInAssembly (System.Reflection.Assembly assembly, System.String name) [0x00000] in <filename unknown>:0
  at Mono.CSharp.RootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) [0x00000] in <filename unknown>:0
  at Mono.CSharp.GlobalRootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Namespace.LookupType (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Namespace.Lookup (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) [0x00000] in <filename unknown>:0
  at Mono.CSharp.NamespaceEntry.Lookup (System.String name, Location loc, Boolean ignore_cs0104) [0x00000] in <filename unknown>:0
  at Mono.CSharp.NamespaceEntry.LookupNamespaceOrType (System.String name, Location loc, Boolean ignore_cs0104) [0x00000] in <filename unknown>:0
  at Mono.CSharp.DeclSpace.LookupNamespaceOrType (System.String name, Location loc, Boolean ignore_cs0104) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeContainer+BaseContext.LookupNamespaceOrType (System.String name, Location loc, Boolean ignore_cs0104) [0x00000] in <filename unknown>:0
  at Mono.CSharp.SimpleName.ResolveAsTypeStep (IMemberContext ec, Boolean silent) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Expression.ResolveAsBaseTerminal (IMemberContext ec, Boolean silent) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeContainer.ResolveBaseTypes (Mono.CSharp.TypeExpr& base_class) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Class.ResolveBaseTypes (Mono.CSharp.TypeExpr& base_class) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeContainer.DefineBaseTypes () [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeContainer.DefineType () [0x00000] in <filename unknown>:0
  at Mono.CSharp.RootContext.ResolveTree () [0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
Re: Is Photon Unity Networking included?
« Reply #3 on: December 24, 2013, 04:28:41 PM »
Deleted the folder and the photon errors dissappeared..

M

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Is Photon Unity Networking included?
« Reply #4 on: December 26, 2013, 02:05:44 AM »
Hi,

 What platform are you on and what publish target do you have selected in Unity? I never add these errors.

bye,

 Jean