Sample doesn't work with Unity 2021
I've tried updating this repository to Unity 2021 (2021.3.6, 2021.3.7, 2021.3.9) and haven't been able to get a build to work. I've attached the log file from my pipeline. I'm not sure what "Cannot build untitled scene" means.
Any ideas?
[434/437 0s] CopyFiles Library/PlayerScriptAssemblies/Assembly-CSharp.dll
[435/437 0s] CopyFiles Library/PlayerScriptAssemblies/Assembly-CSharp.pdb
*** Tundra build success (8.42 seconds), 344 items updated, 437 evaluated
Assets/Creator Kit - RPG/Scripts/Gameplay/CharacterController2D.cs(21,25): warning CS0109: The member 'CharacterController2D.rigidbody2D' does not hide an accessible member. The new keyword is not required.
Assets/Creator Kit - RPG/Scripts/UI/SpriteUIElement.cs(11,27): warning CS0109: The member 'SpriteUIElement.camera' does not hide an accessible member. The new keyword is not required.
BuildPlayerGenerator: Succeeded
Cannot build untitled scene.
(process:116): Gdk-CRITICAL **: 02:02:21.647: gdk_display_beep: assertion 'GDK_IS_DISPLAY (display)' failed
Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
Unloading 31 unused Assets / (1.8 KB). Loaded Objects now: 3099.
Memory consumption went from 100.8 MB to 100.8 MB.
Total: 16.097616 ms (FindLiveObjects: 2.615531 ms CreateObjectMapping: 0.206002 ms MarkObjects: 12.980958 ms DeleteObjects: 0.292947 ms)
Build Finished, Result: Failure.
Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
Loaded scene 'Temp/__Backupscenes/0.backup'
Deserialize: 0.898 ms
Integration: 21.587 ms
Integration of assets: 0.001 ms
Thread Wait Time: 0.017 ms
Total Operation Time: 22.503 ms
Unloading 0 unused Assets / (0 B). Loaded Objects now: 3099.
Memory consumption went from 100.8 MB to 100.8 MB.
Total: 8.681601 ms (FindLiveObjects: 0.412749 ms CreateObjectMapping: 0.182802 ms MarkObjects: 8.055702 ms DeleteObjects: 0.028962 ms)
Exception: Build ended with Unknown status
at BuildCommand.PerformBuild () [0x000d4] in /builds/mclayton7/unity3d-gitlab-ci-example/Assets/Scripts/Editor/BuildCommand.cs:198
(Filename: Assets/Scripts/Editor/BuildCommand.cs Line: 198)
executeMethod method BuildCommand.PerformBuild threw exception.
Aborting batchmode due to failure:
executeMethod method BuildCommand.PerformBuild threw exception.