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

The "stage" Section in my asset menu won

Discussion in 'Scripting' started by Nanako_yukimo, May 15, 2022.

  1. Nanako_yukimo

    Nanako_yukimo

    Joined:
    May 15, 2022
    Posts:
    2
  2. Nanako_yukimo

    Nanako_yukimo

    Joined:
    May 15, 2022
    Posts:
    2
    I'm confused why the header did that
    "The "stage" option in my asset menu won't show up"
     
  3. BABIA_GameStudio

    BABIA_GameStudio

    Joined:
    Mar 31, 2020
    Posts:
    491
    Perhaps you should not use
    Stage
    as your class (or as the menuName) because there is already a Stage class in Unity. What happens if you change the class of your scriptable object to something else? Does it then show up correctly?
    https://docs.unity3d.com/ScriptReference/SceneManagement.Stage.html
    It even derives from ScriptableObject too, so your class might be clashing with it.
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,960
    Did it just not compile because of an error and you're still running the previous Editor DLL?