0
Answered

Unable to load next scene following tutorial [Bolt 1.3.0] [Unity 2017.4.1f1]

DarcClan 4 years ago updated by Catelyn 2 years ago 5

Following the official Bolt Tutorial on GameGrind and when I reach the time stamp 1:47

I am unable to load Level2 and this is the error in unity

------------------------------------------------------------------------------

Scene 'Level2' couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
To add a scene to the build settings use the menu File->Build Settings...
System.Runtime.CompilerServices.ExecutionScope:lambda_method(ExecutionScope, String)
Ludiq.StaticActionInvoker`1:InvokeUnsafe(Object, Object) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/Optimization/StaticActionInvoker_1.cs:51)
Ludiq.StaticActionInvoker`1:Invoke(Object, Object) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/Optimization/StaticActionInvoker_1.cs:32)
Ludiq.Member:Invoke(Object) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/Member.cs:852)
Bolt.InvokeMember:Invoke()
Bolt.InvokeMember:Enter(Flow)
Bolt.ControlInput:Trigger(Flow)
Bolt.ControlOutput:Invoke(Flow)
Bolt.Flow:Invoke(ControlOutput)
Bolt.<>c__DisplayClass1_0:<Definition>b__0(Flow)
Bolt.ControlInput:Trigger(Flow)
Bolt.ControlOutput:Invoke(Flow)
Bolt.Flow:Invoke(ControlOutput)
Bolt.Branch:Enter(Flow)
Bolt.ControlInput:Trigger(Flow)
Bolt.ControlOutput:Invoke(Flow)
Bolt.Flow:Invoke(ControlOutput)
Bolt.EventUnit:InvokeTrigger()
Bolt.EventUnit:Trigger(Object)
Bolt.GameObjectEvent:Trigger(GameObject, Object)
Bolt.UnityMessageListener:OnCollisionEnter2D(Collision2D)

------------------------------------------------------------------------------I have made sure that the File->Build Settings... shows Scene/Hud, Scene/Level1, Scene/Level 2, Scene/Level3, Scene/Level4, Scene/Menu all checked off. Not sure how to continue this tutorial if I can't load any other scenes/levels

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
+2
Unity Bug

Hi DarcClan,

Other users have fixed this by removing all the scenes included in the build settings, then re-adding them.

Somehow maybe the scene reference got lost when zipping the project folder, sorry!

No problem, thanks for providing the fix! Hope this helps anyone else with the same issue

Yes ty it helped ;)

This also fixed the issue for me! Thanks so much! (Bolt v 1.4.4)