Starting in Unity 2018.1, the Analytics system will no longer send the unity.sceneLoad event. We created unity.sceneLoad when we first introduced the Analytics service to provide developers something they could use right away.
As the product improved and more developers became accustomed to defining their own custom events, it became less necessary to have this default event.
Our backend has not processed this event since June 2017, with the exception of projects that were using it in a funnel or custom segment. That exception was ended at the end of last year. And in 2018.1, that event will no longer be sent from the editor.
If you have funnels or custom segments with this event, they will no longer function correctly. You will need to remake them using another custom event.
This event will also be removed from Raw Data Export files.
Replacement Event
If you are interested in capturing this information, there are a few ways you can do so. I would encourage everyone to take a look at Standard Events:
https://blogs.unity3d.com/2017/05/12/introducing-standard-events/
If you just want to capture whenever a scene is loaded, that’s easy enough to do with a custom event. However, just by adding a couple of Standard Events in the right places, you can capture much more meaningful data.
For example, it is often useful to know how many people start your game after opening it:
using UnityEngine;
using UnityEngine.Analytics;
using System.Collections.Generic;
public class Track : MonoBehaviour {
float timeToLoad = 0;
void Start () {
Dictionary<string, object> data = new Dictionary<string, object>();
//add any other relevant data
timeToLoad = Time.timeSinceLevelLoad;
data.Add("timeToLoad", timeToLoad);
AnalyticsEvent.ScreenVisit(ScreenName.MainMenu, data);
}
public void StartGame() {
Dictionary<string, object> data = new Dictionary<string, object>();
data.Add("timeToStart", Time.timeSinceLevelLoad - timeToLoad);
AnalyticsEvent.FirstInteraction(ScreenName.MainMenu.ToString(), data);
}
}
You can then use these two events to create a funnel that tracks what percentage of users who visit the Main Menu click to start the game. (This example also gives you a way to track the time for the main menu to load and the time before a player makes their first interaction. You can generate reports with this data in the Data Explorer.)
There are many other uses for Standard Events. I would recommend checking out the blog series that goes into more depth about the different categories of events:
https://blogs.unity3d.com/2017/06/09/standard-events-explained-part-1-onboarding/
https://blogs.unity3d.com/2017/08/09/standard-events-explained-part-2-application-and-progression/
As of 2017.3, the full package is now integrated into Unity, so there is no asset package needed.
If you have any questions about unity.sceneLoad or Standard Events, please let us know.