- Home /
Problems with Unity version - issue corrected by changing settings in configuration.
2d racing play button not working
This is from the udemy website. I recently re-created the menu scene - the main scene and found that the results are exactly the same as earlier. It means that some extra code is required to go to the racing scene. Check the link below - password not required : https://drive.google.com/file/d/1Gyt2GRwFpggV2tgAFPnpuZRXrC_HokRP/view?usp=sharing
Answer by ProNoob2 · Jul 29, 2019 at 06:44 AM
if u want to go to a scene. You can do it in many ways. Whichever it is the most important thing would be to check if u have added the scene in the sceneIndex List which you can found by using shortcut ctrl+shift+b which is equivalent to build settings. If ur scene is added there then in the script where u would like to change scene u can do the following:
SceneManager.LoadScene("SceneNameFromUrProject");
or
SceneManager.LoadScene("The index of ur scene in the sceneIndexList");
Answer by Beginner_at_Unity · Jul 29, 2019 at 08:15 AM
Thank you. I think you solved it. But strangely enough, in other projects, I didn't have to worry about the scenes in the build settings. Now it seems to be working properly. I can now continue with my tutorial without any problems.
Follow this Question
Related Questions
Problem playing animation C# 1 Answer
teleport destination differs when player hits trigger from different positions 0 Answers
Animation doesn't play 1 Answer
ParticleSystem.Play() not working 1 Answer
Double Jump 1 Answer