Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by Schlauewurst · Dec 16, 2016 at 08:39 AM · buildroll a ball

Roll a Ball Build failed

So i've followed everything ( thats what i think) It works fine in the PlayMode(in the Editor), but when i make a Build and start it, i cant collect the Pickups. (i use 5.50f3)

So pls help thy schlauewurst

Comment
Add comment · Show 2
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 iwaldrop · Dec 16, 2016 at 09:26 AM 1
Share

Posting your code might help, and it may take elaborating on your setup some.

avatar image Mparker25 · Feb 18, 2017 at 01:19 PM 0
Share

Re-Up I have the same issue!!!! Using $$anonymous$$ac though

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by unknown74653 · May 28, 2017 at 03:15 PM

The tags in unity update only after restarting the editor.

So to fix the problem save the scene, close unity, then open it back up and build again.

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 Gracewing · Dec 22, 2016 at 03:01 AM

I have the same problem.

The game works in development but the build version does not react to collisions and ball rolls through cubes.

Win 7 32 bit. Unity 550f

alt text

Another curious thing - the date on the exe is always 24 Nov even though it was created on 22 Dec, Deleting it results in a new exe file with the same date.

Code:

using UnityEngine;

using UnityEngine.UI;

public class PlayerController : MonoBehaviour {

 public float speed;
 public Text countText;
 public Text winText;

 private Rigidbody rb;
 private int count;

 void Start()
 {
     rb = GetComponent<Rigidbody>();
     winText.text = "";
     count = 0;
     SetCountText();
 }

 void FixedUpdate()
 {
     float moveHorizontal = Input.GetAxis("Horizontal");
     float moveVertical = Input.GetAxis("Vertical");

     Vector3 movement = new Vector3(moveHorizontal, 0.0f, moveVertical);

     rb.AddForce(movement * speed);
 }

 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.CompareTag("Pickup"))
     {
         other.gameObject.SetActive(false);
         count = count + 1;
         SetCountText();
         if (count>=8)
         {
             winText.text="You win!";
         }
     }
 }

 void SetCountText()
 {
     countText.text = "Count: " + count.ToString();
 }

}


build.png (122.0 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 Gracewing · Dec 26, 2016 at 02:54 AM 0
Share

So I have another PC, this one running Win 10, 64 bit. I downloaded and installed unity and then copied the project from the Win 7 32 bit PC.

I rebuild the same project to a 32 bit version and it works!

Not sure whether to be pleased or not.

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

90 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

Related Questions

Roll-a-ball build on Mac not behaving properly 1 Answer

Roll a Ball build not working? 2 Answers

Build failed, illegal characers in path. 1 Answer

all unity 5.6 builds retroactively stopped working 0 Answers

a ton of cs0246 errors on scripts that arent even mine, that happened out of nowhere 0 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