• 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
1
Question by JAMingMayo · Apr 25, 2017 at 09:19 PM · export

When I Build And Run, In The Final Version Nothing is There?

Hello everyone on the Unity forums. I am fairly new to Unity (About 2 weeks). I have been slowly working my way up engines to Unity.

I have been working intense on a game. And I decided to test run it you know to see the final product. But sadly, nothing appears in the final version. You just spawn and simply fall.

I have made sure the character spawns above the terrain and everything works fine in actual Unity but in the built version its all just... not there...

I am sorry for the lack of context, its just I dont really understand whats going on so I cant really explain it.

Thank you everyone for you're time :)\

I guess this goes under the export topic?

------- Update

For everyone who is following this post, I just want to say I will be adding a video soon so you can better understand what is going on. I currently have strep throat so I cannot speak or else it hurts my throat. When I get better I will add a video to this post, that should be by this Friday.

------- Update

Here is the video. I just wanted to get it out there, I still have strep so there is no mic.

https://www.youtube.com/watch?v=_LLptEMkQ2Q

Also I just wanted to thank you guys for being helpful and kind thus far. I come from other forums where people just curse at you for not knowing the answer's to problems. So thank you guys very much.

Comment
Add comment · Show 11
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 Joe-Censored · Apr 25, 2017 at 10:10 PM 0
Share

No one is going to be able to help without a lot more information. Without that though, have you checked for errors in the player log? Often when things are significantly different between the editor and a player build you'll find a nullreference exception or similar error output by the player.

https://docs.unity3d.com/$$anonymous$$anual/LogFiles.html

avatar image Matthewj866 · Apr 25, 2017 at 11:57 PM 0
Share

Hi there.

What have you tried? Did you add the scene to the build order?

avatar image JAMingMayo Matthewj866 · Apr 26, 2017 at 02:28 AM 0
Share

Yes I have added all scenes to the final build.

avatar image santiandrade · Apr 26, 2017 at 03:06 PM 0
Share

Hi! What is you don't see? Nothing on the scene? Is your camera activated? $$anonymous$$ay it is deactivated and you are seeing the scene from the Editor Window and not from the Game Window?

avatar image JAMingMayo santiandrade · Apr 26, 2017 at 03:13 PM 0
Share

Hello. So here is whats happening. I made a map, and when I click play in Unity everything works. You see the map you can walk around etc. But then when I click build and run literally nothing shows up not even the sky box I use. Its like everything is reset in the build.

avatar image santiandrade · Apr 26, 2017 at 03:21 PM 0
Share

Ok... and while you are in play mode in the Unity Editor, you are seeing your game in the Game window, correct? I know that it is obvious but maybe that you are seeing your game from the Scene Window (without camera) and when you play the game from the build you cannot see anything because the camera does not exists or it is deactivated.

Have you try to add another simple scene, build and run to test if it's happen the same? $$anonymous$$aybe the problem is your current scene... or maybe the problem is from your operative system.

avatar image JAMingMayo santiandrade · Apr 26, 2017 at 05:21 PM 0
Share

Yes it is in the game window. And I dont know its all really weird. Like basically what happens is I spawn and I see the sun and stuff and It seems like I fall through the map, but I dont so its all weird.

avatar image sleepandpancakes · Apr 26, 2017 at 05:47 PM 0
Share

Could you post a screenshot? Are any gameobjects in your scene marked EditorOnly?

avatar image JAMingMayo sleepandpancakes · Apr 26, 2017 at 08:53 PM 0
Share

How do you do that?

avatar image sleepandpancakes sleepandpancakes · Apr 26, 2017 at 08:56 PM 0
Share

edit your question and click the image button in the toolbar to upload an image

Show more comments

4 Replies

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

Answer by Bunny83 · Apr 26, 2017 at 05:42 PM

My guess is that you forgot to add your scene / scenes to the build settings scene list. When you build your game, only those scenes will be included in your build. Also the scene at the top will be the scene that is loaded when you start up your game.

To add a scene to the list you can either press the "Add open scene" button under the scenes list, or drag and drop the scene assets from the project panel into the list.

To exclude a scene from a build you can simply uncheck a scene. If you want to completely remove a scene from the list, just select it and press the <del> key.

edit

About the video you posted in your question:

do you actually load your second scene somewhere? You have setup two seperate scenes "Wild Life 1" and "Wild Life 2". Your first scene only contains a directional light and your FPS controller, nothing else. This seems to be exactly what you see in your build. Unity will automatically load the first scene (index 0) when the build starts up. It does not load any other scene automatically.

So if you don't load your second scene via script, it won't be loaded, ever.

Apart from that (which most likely is your problem), I highly recommend a few things:

  • Don't create a build directly inside the project folder. It's best to create a sub folder called "build" or "bin" for builds.

  • You should generally avoid any special characters in foldernames. I usually even avoid spaces. Usually those shouldn't be a problem, but certain software has problems with those. Also too long folder pathes can also cause problems, though that doesn't seem to be the case here,

  • Keep your actual build name short and avoid spaces. Most games, even today, still use the old "8.3" DOS format (8+3 characters) to avoid any issues with the file name.

  • Especially when you have trouble with a build, you shouldn't overwrite an old build. So try deleting the old build before you create a new one. Usually that's not a problem, but if you have issues it's one way to eliminate certain problems (like a bad antivirus software that jumps into the building process).

  • Make sure nothing in your project / build path has a write protection (or is marked as read-only).

Comment
Add comment · Show 3 · 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 Bunny83 · Apr 27, 2017 at 10:18 PM 0
Share

I've updated my answer.

avatar image JAMingMayo Bunny83 · Apr 28, 2017 at 12:11 AM 0
Share

Thank you. So I am just gonna put the map under the first scene?

avatar image JAMingMayo Bunny83 · Apr 28, 2017 at 12:15 AM 0
Share

It worked :) Thank you so much.

avatar image
-1

Answer by Zeristic · Apr 27, 2017 at 03:00 PM

@JAMingMayo go to file/build_settings/ and then make sure your scenes are selected if not go to the "add open scenes" button and import your scene(s) if you only have 1 scene then put it in. If you have more than one then add them for what scene you want to see first,

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
avatar image
0

Answer by Injec · Apr 27, 2017 at 01:42 PM

Hey., I think you forgot adding the Scene to the Build Settings. If you are in the build settings and have your scene open, press the "add open scenes" button. This could fix it.

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
avatar image
0

Answer by LoneWolfSwat · Apr 26, 2017 at 06:15 PM

Are you sure you add the scene on "Build Settings"? If you don't: After opening the scene, Go to Files, Build Settings, Add Open Scenes, then Build & Run. alt text

Yes, I called my scene "asd" to demonstrate it


open.png (54.5 kB)
Comment
Add comment · Show 1 · 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 JAMingMayo · Apr 26, 2017 at 08:53 PM 0
Share

I have added them to the scene. And still there is nothing...

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

10 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

Related Questions

runtime model export 3 Answers

Character Customization demo - Problem with scaling and rotation 2 Answers

can i export a unity player on an ipad ? 1 Answer

Looking for someone with Unity Pro 1 Answer

exporting 3ds max 1 Answer


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