Help Plz, Stuck on splash screen

Hi Nina,

Im also stuck on the splash screen.

Both Scenes are in the build menu, Visual studio has been saved and restarted.

Trying to Invoke method: MusicPlayer.LoadFirstScene couldn’t be called. ?

“Add Debug.Logs to your methods” ? If you can show me how to do this i will and get back to u asap.

1. using System.Collections;
2. using System.Collections.Generic;
3. using UnityEngine;
4. using UnityEngine.SceneManagement;
 * public class MusicPlayer : MonoBehaviour
5. {
6. // Start is called before the first frame update
7. void Start()
8. {
9. Invoke("LoadFirstScene", 2f);
10. }
 * void LoadFistScene()
11. {
12. SceneManager.LoadScene(1);
13. }
14. }

Hi Stuart,

There is a typo in line 9 or in the line with the asterisk. It depends on what you regard as the correct spelling. :wink:

Head in hands.Oh dear, cheers mate. look its been a long day, full time dad here exhausted trying to do this course in the evenings. thank you very much. why u working on a Friday night? it is friday isnt it? piffft lost track of the days :frowning:

I’m glad the solution was so simple.

It’s 9:45 pm here, basically still evening. Have a nice weekend. :slight_smile:

You have the same time as here in Amsterdam. thank you and i owe you a few drinks :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms