UnityEvent now showing in the editor even if public variable

Hello,

I am using a class that has a list of Action (a struct containing a start time and an UnityEvent) that has the attribute [System.Serializable]
3372926--264512--upload_2018-1-29_17-14-49.png

The goal of this class is to call the UnityEvent after a number of seconds (startTime). The struct Action is serializable and the UnityEvent is a public variable but I am unable to see it in the Editor. This happened for me just today. I was able to see the variable in the inspector before. I tried restarting Unity and my computer along with adding it again to another object but this hasn’t fixed my issue.

Edit: I am using Unity 2017.2.0f3
Thank you for your help!
Joseph A

Works for me. Make sure you’re not overloading UnityEvent somewhere. Also try do this in different script and check if it works there. What can you see in Debug view? It should look like this:

3373014--264532--upload_2018-1-30_0-46-50.png

Maybe it is related to serialization and something happend in your project that broke it’s behaviour. Try reimporting everything related to this script first. If it doesn’t help then try reimporting all assets. Reboot your computer if you haven’t. But it looks like a bug from the information you’ve given.

Also don’t use Action as a name of your class because of existence of System.Action.

I have the same view in the Debug view:
3373786--264624--upload_2018-1-30_10-22-49.png

Actually I just realized that this issue happened after I imported the GoogleAnalyticsV4 package. As you said, it might have been overloaded by this plugin. Maybe the problem comes from there? If yes, what approach should I use to work around it?