Search Unity

Question Not Supported Exception

Discussion in 'Visual Scripting' started by MrTropel, Jan 5, 2023.

  1. MrTropel

    MrTropel

    Joined:
    Nov 30, 2022
    Posts:
    2
    Hello, im having an issue while trying to make an AI wonder an attack, everything looks fin but when i press play is giving me the error message "Not Supported Exception. Specified methos is not supported" What should i do to repair this error message?

    Thank you in advance


    upload_2023-1-4_21-14-50.png

    upload_2023-1-4_21-15-0.png
     
  2. tleylan

    tleylan

    Joined:
    Jun 17, 2020
    Posts:
    618
    I know nothing about that graphical system for code generation BUT I know what I would at least try if I had such an issue. Can you save a copy somewhere then start laying in the nodes one-by-one until I saw the error appear. Is the red one an indicator of a problem? If so (and I'm guessing) perhaps Player Is Near isn't a method. I'd be shocked if it permitted space in the name.
     
    MrTropel likes this.
  3. MrTropel

    MrTropel

    Joined:
    Nov 30, 2022
    Posts:
    2
    Let me go ahead and try to change the variables name and check if it works, and yeah red is indicator that is not working