• 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 ManoKristos · Aug 05, 2015 at 03:45 PM · all

My game doesn't works

I was following an Unity Tutorial and I have finished it.(It's Roll a ball) when I built it.. I have tried to start the game.. but just black window appears. I followed every step the tutorial maker did.. and still I am facing the same problem. The game in unity works fine(In Editing Only) but try it after I finished and put it in folder.. still black window opens (waited like 3-4 mins) I have tried to start this like (10 times). Please help :/

Thanks,Respectfully.

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 WillNode · Aug 05, 2015 at 04:52 PM 0
Share

did you mean it only works on editor and never work on the exported game?

avatar image boxed_9k · Aug 05, 2015 at 05:58 PM 1
Share

@imilanspinka Won't it load the current scene by default?

avatar image imilanspinka · Aug 05, 2015 at 06:15 PM 1
Share

Go to Edit > Build Settings and check if your scene is added and checked ... build settings

avatar image ManoKristos · Aug 05, 2015 at 09:03 PM 1
Share

Thanks for the reply. I am using windows 10.( it have DirectX v12) Yes, the game only works in Editor .. but not in exported.

avatar image Cherno · Aug 05, 2015 at 09:04 PM 1
Share

^Please post comments as comments and asnwers as answers.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Major0 · Aug 05, 2015 at 09:25 PM

Hey @ManoKristos — just to clarify you said:

I am using windows 10.( it have DirectX v12) Yes, the game only works in Editor .. but not in exported.

  • Here's a checklist:

  1. When exporting the project, make sure you have already saved the scene.

  2. Click on Add Current button in Export window to add the current scene to the build. (even though current scene is automatically added AFAIK)

  3. Keep the exe next to the _Data folder. e.g. if you named your build AwesomeBuild.exe then there should be AwesomeBuild_Data in the same directory.

  • If the above did not work then do us a favor and export your project as a unitypackage using the following instructions:

    While in Unity Editor, open Project tab (Ctrl + 5) then right-click within the Project tab view and select Export Package. Then click on All button and then hit Export. You can upload it to somewhere like Copy.com, Dropbox, or Mediafire and let us take a look at it.

Comment
Add comment · Show 2 · 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 ManoKristos · Aug 05, 2015 at 10:30 PM 1
Share

I was going to upload it but, I told myself to try the game in my brother's laptop.. and it worked fine. (he is using windows 7, I am using win 10 -32 bit) and I built the game x86 not x64. So the problem in my windows? what should I download for my windows .. Already on it .Net framework 4.5+, DirectX 12 .. I don't know what should I do? please help.

avatar image Major0 · Aug 06, 2015 at 08:18 AM 0
Share

How about uninstalling Unity and installing the 32-bit version of it (if you haven't)

alt text

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

7 People are following this question.

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

Related Questions

Find all objects that have a specific string. 1 Answer

eulerangle not work with joystick 0 Answers

How to add a component to all selected objects? 1 Answer

How to import Videos from Android Gallery ? 0 Answers

how to do infinitive loop for finding all sub folders / files C# 3 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges