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
Posting your code might help, and it may take elaborating on your setup some.
Re-Up I have the same issue!!!! Using $$anonymous$$ac though
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.
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
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();
}
}
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
Follow this Question
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