Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by fuadshahmuradov · Dec 20, 2019 at 11:47 AM · 3dnot workingscene loadno error

Scene is loading/not loaded

alt text alt textMy scene continuously says is loading and not loaded and I can not play properly (see images). I don't get any error message or warning. I don't know if there is an error in the code (if yes, I don't know which part to import here because it is too long), I don't think this is a common thing because I couldn't find anything in the forums. If there is a way to fix it please help. It was working fine till I added this to Update() function:

 if (health <= 0)
         {
             RestartGame();
         }

And added this to void OnControllerColliderHit (ControllerColliderHit c)

 if (c.gameObject.tag == "enemy")
         {
             AudioSource audio1 = GetComponent<AudioSource>();
             audio1.PlayOneShot(hurt);
             health -= 25; 
         }

I had this before :

 void RestartGame()
     {
         StartCoroutine(Wait3secs());
         Application.LoadLevel(Application.loadedLevel);
     }


Comment
Add comment · Show 5
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image unity_JaL6pRCgCNL_cQ · Dec 04, 2020 at 05:34 PM 0
Share

@rawa800x, which video?

avatar image rawa800x unity_JaL6pRCgCNL_cQ · Dec 04, 2020 at 07:22 PM 0
Share

@unity_JaL6pRCgCNL_cQ is Jason Weimann the yt channel?

avatar image rawa800x unity_JaL6pRCgCNL_cQ · Dec 06, 2020 at 09:30 AM 0
Share

@unity_JaL6pRCgCNL_cQ here's the link!

https://www.youtube.com/watch?v=Lu76c85LhGY&feature=youtu.be&ab_channel=JasonWeimann

avatar image unity_JaL6pRCgCNL_cQ · Dec 05, 2020 at 05:31 PM 0
Share

@rawa800x, yes it is the Jason Weimann youtube channel only.

Though I wasn't able to solve this "(Not loaded)", I have found a solution to my problem.

avatar image unity_JaL6pRCgCNL_cQ · Dec 06, 2020 at 09:34 AM 0
Share

@rawa800x, Thank you bro!

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by fuadshahmuradov · Dec 20, 2019 at 02:30 PM

Found the answer. I had health = 0; in Start() function. So it was Restarting game repeatedly. I changed it to health = 50;

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image danmct1995 · Aug 20, 2020 at 08:03 PM 0
Share

Ahhhhh I was trying to figure this out in project for like three days and thought it was something to do with my $$anonymous$$enu$$anonymous$$anager script. This helped so much for something being so simple!

avatar image rawa800x · Oct 22, 2020 at 04:13 PM 0
Share

i dont understand im making angry bird game

avatar image mohosinmahmud9602 rawa800x · Nov 02, 2020 at 04:17 AM 0
Share

Im walking the same tutorial and facing the same problem now. Did you solve yours?

avatar image rawa800x · Nov 05, 2020 at 03:49 PM 0
Share

@mohosinmahmud9602 i just restarted it but then i found out he made a new video on it about a week ag. Now im working on that. I also believe that it was always in the restart position...

avatar image unity_JaL6pRCgCNL_cQ · Dec 04, 2020 at 04:51 PM 0
Share

@rawa800x , same. Even i am making angry birds game and i'm getting the same error.

I am not understanding what's wrong in the code...

avatar image rawa800x unity_JaL6pRCgCNL_cQ · Dec 04, 2020 at 05:09 PM 0
Share

@unity_JaL6pRCgCNL_cQ I've followed a different tutorial from the same guy (its for bird as well) and I've completed it. lucky for us it doesn't have that thing he did to reset he used a better way that wont involve worrying about your position.

avatar image
0

Answer by xdzeroalias · Dec 09, 2020 at 01:38 PM

In my case it was a boolean value that was initialized before start().I initialized the value inside the start function and it solved my problem.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

158 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How Do I Make My Player Fall Through? 1 Answer

Problem changing string value. 2 Answers

Multiple AR tracker not working. 0 Answers

no errors but not working The one who answers, i give him 2 reputation points 4 Answers

Adding force to a bullet 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges