Marco Polo "Monster" character broken in 5.3.2

I get this error in several files after downloading from the tutorial page link
Assets/Monstergame/Resources/Scripts/CharacterControl.js(61,9): BCE0048: Type 'UnityEngine.Component' does not support slicing.
I'll try the asset store package


  • MeachWare
    ...actually I cannot find that "monster" character in the asset store - can someone provide a link?
  • MeachWare
    Update: after a quick search on Unity Answers I found the 'patch'

    Here's a code snipit of both the old ("//") and patched code using GetComponent
    //animation[].speed = fallAnimationSpeed; GetComponent.<Animation>()[].speed = fallAnimationSpeed;

    After fixing the errors the API Updater ran and patched the rest of the code.
  • JohnTube
    JohnTube ✭✭✭✭✭
    edited August 2016
    First, let's thank @MeachWare for reporting this issue and finding a fix. Better late than never.


    The original "MarcoPolo" tutorial is quite old now. We recommend our customers to move to the new "PunBasicsTutorial".

    In any case, PUN package on the asset store contains the "MarcoPolo" tutorial and Monster character that are fully working.