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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Bug Unity Event not drawing in inspector

Discussion in 'Editor & General Support' started by flashframe, Jan 25, 2023.

  1. flashframe

    flashframe

    Joined:
    Feb 10, 2015
    Posts:
    634
    Hi, not sure if this is a bug or if I'm doing something wrong. I'm working in Unity 2021.3.5f1

    This script:

    Code (CSharp):
    1. using UnityEngine;
    2. using UnityEngine.Events;
    3.  
    4. public class UnityEventTest : MonoBehaviour
    5. {
    6.     public UnityEvent testEvent;
    7. }
    8.  
    Looks like this in the inspector:

    upload_2023-1-25_14-54-59.png

    I've got the inspector set to Normal view (not debug).

    Any ideas? Thanks!
     
  2. flashframe

    flashframe

    Joined:
    Feb 10, 2015
    Posts:
    634
    Of course, it only occurred to me to try this in an empty project after I posted. It's working fine there, so must be something specific to my project.
     
  3. flashframe

    flashframe

    Joined:
    Feb 10, 2015
    Posts:
    634
    It was an asset from the asset store which is installed in my project, but not actually being used yet. Solved by removing said asset. Have contacted the creator to hopefully resolve.