Search Issue Tracker

Active

Votes

0

Found in

6000.0.26f1

Issue ID

UUM-86551

Regression

Yes

"Unity.Tutorials.Core.Editor.BuildStartedCriterion must be instantiated using the ScriptableObject.CreateInstance method instead of new BuildStartedCriterion" warning is thrown after building a project

--

-

*Steps to reproduce:*
1.  Create a new project with High Definition 3D Sample template
2. Build And Run
3. Observe the Console

*Actual results:* "Unity.Tutorials.Core.Editor.BuildStartedCriterion must be instantiated using the ScriptableObject.CreateInstance method instead of new BuildStartedCriterion.
UnityEngine.ScriptableObject:.ctor ()
Unity.Tutorials.Core.Editor.Criterion:.ctor () (at ./Library/PackageCache/com.unity.learn.iet-framework/Editor/Criteria/Criterion.cs:43)
Unity.Tutorials.Core.Editor.PreprocessBuildCriterion:.ctor ()
Unity.Tutorials.Core.Editor.BuildStartedCriterion:.ctor ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)" warning is thrown
*Expected results:* No errors or warnings are thrown

*Reproducible with versions:* 2022.3.53f1, 6000.0.26f1, 6000.1.0a5
*Not reproducible with versions:* 2021.3.45f1, 6000.0.25f1

*Tested on (OS):* macOS Sequoia 15 (Intel), macOS Sonoma 14.7 (M1), Windows 11, Ubuntu 22.04

*Notes:*
- Also reproducible with FPS Microgame, Universal 3D Sample, Mixed Reality, AR Mobile and 2D Platformer Microgame templates

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.