playMaker

Author Topic: Errors!  (Read 1685 times)

le_bonn

  • Playmaker Newbie
  • *
  • Posts: 17
Errors!
« on: March 12, 2015, 10:41:55 AM »
Hi Guys,

Some assistance would be greatly appreciated!!  :-\

 I upgraded to unity 5 pro the a couple of days ago and have since gone back to 4.6.3 as vuforia is not compatible with 5. Ever since I have had no end off issue with my projects.  the most persistent is this error message. 



Internal compiler error. See the console log for more information. output was:
Unhandled Exception: Mono.CSharp.InternalErrorException: Assets/PlayMaker/Actions/GUILayoutAction.cs(9,31): HutongGames.PlayMaker.Actions.GUILayoutAction.GUILayoutAction() ---> System.TypeLoadException: Could not load type 'UnityEngine.UnityAPICompatibilityVersionAttribute' from assembly 'PlayMaker'.
  at (wrapper managed-to-native) System.MonoCustomAttrs:GetCustomAttributesInternal (System.Reflection.ICustomAttributeProvider,System.Type,bool)
  at System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) [0x00000] in <filename unknown>:0
  at System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) [0x00000] in <filename unknown>:0
  at System.Reflection.Assembly.GetCustomAttributes (System.Type attributeType, Boolean inherit) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeManager.IsThisOrFriendAssembly (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeManager+Closure.Filter (System.Reflection.MemberInfo m, System.Object filter_criteria) [0x00000] in <filename unknown>:0
  at Mono.CSharp.MemberCache.FindMembers (MemberTypes mt, BindingFlags bf, System.String name, System.Reflection.MemberFilter filter, System.Object criteria) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeManager.MemberLookup_FindMembers (System.Type t, MemberTypes mt, BindingFlags bf, System.String name, System.Boolean& used_cache) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeManager.RealMemberLookup (System.Type invocation_type, System.Type qualifier_type, System.Type queried_type, MemberTypes mt, BindingFlags original_bf, System.String name, IList almost_match) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeManager.MemberLookup (System.Type invocation_type, System.Type qualifier_type, System.Type queried_type, MemberTypes mt, BindingFlags original_bf, System.String name, IList almost_match) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Expression.MemberLookup (Mono.CSharp.CompilerContext ctx, System.Type container_type, System.Type qualifier_type, System.Type queried_type, System.String name, MemberTypes mt, BindingFlags bf, Location loc) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Expression.MemberLookupFinal (Mono.CSharp.ResolveContext ec, System.Type qualifier_type, System.Type queried_type, System.String name, MemberTypes mt, BindingFlags bf, Location loc) [0x00000] in <filename unknown>:0
  at Mono.CSharp.ConstructorInitializer.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0
  at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0
  at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0
  at Mono.CSharp.ToplevelBlock.Resolve (Mono.CSharp.FlowBranching parent, Mono.CSharp.BlockContext rc, Mono.CSharp.ParametersCompiled ip, IMethodData md) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at Mono.CSharp.TypeContainer.EmitConstructors () [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeContainer.EmitType () [0x00000] in <filename unknown>:0
  at Mono.CSharp.RootContext.EmitCode () [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


Please help, I have no idea what is causing it.  I have also reverted to playmaker 1.7.7, back from 1.7.8

Many thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Errors!
« Reply #1 on: March 13, 2015, 02:33:01 AM »
Hi,

 You should bring back the latest version of PlayMaker, previous version are not going to work in Unity 5 at all.

Once you do that. Can you tell me how much errors you have in the console and paste the first ones?

Also, just to rule out that it's not another asset or script that needs attention, can you create a new fresh project, and import PlayMaker and see if you have errors, let me know if you do.

 Bye,

 Jean