Web Player Scripts Not Working Like Standalone

Is there anything that someone that is developing a web player need to know when they come across the problem of the script not working correctly anymore in web player.

It seams that the If statements are not being activated until each if statement = true in order they were written. only reason I am saying this is that the gui button’s turn true or false and I have to turn my middle button on and off before the rest of the buttons will work.

I am at a loss.

I don’t even know how to get help for my problem. search has come up with old problems witch don’t seam to work for me.

if statement = true

That’s an assignment not a conditional.

All green… :slight_smile:

ok… I am an artist not a coder.

if(somthing)
{
// do something
}else{
// do nothing
}

the “somthing” is set inside a gui button true or false but for some reason some of the functions will not work correctly until I turn on each button in order they are created in script.

For example the 5th button is used and now buttons 6 - 8 will work properly.

Is there any way to debug a webplayer?

the web player log can any one help me debug it?

(Filename: C:/BuildAgent/work/6bc5f79e0a4296d6/Runtime/ExportGenerated/WebPlayer/BaseClass.cpp Line: 2505)

FieldAccessException: Attempt to access a private/protected field failed.
  at (wrapper managed-to-native) System.Reflection.Emit.DynamicMethod:create_dynamic_method (System.Reflection.Emit.DynamicMethod)

  at System.Reflection.Emit.DynamicMethod.CreateDynMethod () [0x00000] in <filename unknown>:0 

  at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type delegateType) [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.DynamicDispatching.Emitters.DispatcherEmitter.CreateMethodDispatcher () [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.DynamicDispatching.Emitters.DispatcherEmitter.Emit () [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.DynamicDispatching.PropertyDispatcherFactory.EmitFieldDispatcher (System.Reflection.FieldInfo field, SetOrGet gos) [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.DynamicDispatching.PropertyDispatcherFactory.EmitDispatcherFor (System.Reflection.MemberInfo info, SetOrGet gos) [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.DynamicDispatching.PropertyDispatcherFactory.Create (SetOrGet gos) [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.DynamicDispatching.PropertyDispatcherFactory.CreateGetter () [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.RuntimeServices.DoCreatePropGetDispatcher (System.Object target, System.Type type, System.String name) [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.RuntimeServices.CreatePropGetDispatcher (System.Object target, System.String name) [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.RuntimeServices+<GetProperty>c__AnonStorey14.<>m__9 () [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.DynamicDispatching.DispatcherCache.Get (Boo.Lang.Runtime.DynamicDispatching.DispatcherKey key, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory) [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.RuntimeServices.Dispatch (System.Object target, System.String cacheKeyName, System.Type[] cacheKeyTypes, System.Object[] args, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory) [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.RuntimeServices.Dispatch (System.Object target, System.String cacheKeyName, System.Object[] args, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory) [0x00000] in <filename unknown>:0 

  at Boo.Lang.Runtime.RuntimeServices.GetProperty (System.Object target, System.String name) [0x00000] in <filename unknown>:0 

  at UnityScript.Lang.UnityRuntimeServices.GetProperty (System.Object target, System.String name) [0x00000] in <filename unknown>:0 

  at CameraAddNode.DeletNode () [0x00000] in <filename unknown>:0 

  at CameraAddNode.Update () [0x00000] in <filename unknown>:0 
 
(Filename:  Line: -1)