Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Animation of custom script fails

Discussion in 'Animation' started by Freezy, Sep 9, 2015.

  1. Freezy

    Freezy

    Joined:
    Jul 15, 2012
    Posts:
    234
    I have a script that inherits from BaseMeshEffect (it inherited from BaseVertexEffect in 5.1)
    It has a public int that was in an animation in 5.1

    In 5.2 the script no longer shows up and the property shows: Missing

    Trying to add the property fails, the script is not in the gameobjects listed entries.
    Weirdly enough other properties of the same script are still hooked up.


    Moving the script to the top of the list
    - Canvas Renderer
    - LayoutElement
    - Button
    - Image
    - Mask
    - Animation
    - Script (Animated)
    - OtherScript

    Canvas Renderer is fine, but button, image, mask block the Script from showing up in the Animation window.

    The int property still does not show up even if the script is displayed in the entries, it's a public variable.
    Ah I changed it from a float, apparently animation simply cant handle int.
     
    Last edited: Sep 9, 2015
  2. snrnats

    snrnats

    Joined:
    Jun 13, 2015
    Posts:
    1
    It's going to be fixed in 5.4.0 according to the issue