Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by Karsnen_2 · Jan 30, 2013 at 04:00 PM · c#erroriosxcode

Unity + XCode Problem (really wierd)

Hello Devs,

My target is iPad. I have only one scene on the "Build Settings". Beyond the only scene on the build settings, I have have lots of other scenes.

There was a time when for some reason (I do not know the reason though) Unity happen to wipe out my entire scene hierarchy. It just wiped it down. Then I started getting really weird errors.

Now every script on the project folder has no errors. I also do not see any errors on the Unity's Console. I also play on Unity which bring no errors to me.

Now when I Build & Run to my ipad, as soon as I start giving in Input, it starts giving me errors. These errors are from the scripts that are not even part of the project. They might be part of other scenes which is not inside the build settings. For example, when xcode runs the game while the device is still connected to the mac it reports a problem that is really weird. For example it says there is a problem with this piece of code

     void OnGUI ()
     {
         GUI.Label(new Rect(10,10,50,50), Percentage.ToString ());
     }

Then I delete this script from the project folder and try to Build & Run. Again xcode stops my game to run, as soon as I try to give Input. This time, it pops up a different error. The root to this error is also from a script that is not a part of the scene hierarchy and never an error at all.

Now I am trying to create the project from scratch and make it look like a completely new one. I am not sure how it is going to go. My concern is why? and What is happening.

Thank you.

Comment
Add comment · Show 3
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 jogo13 · Jan 30, 2013 at 04:28 PM 0
Share

I don't have a definite answer to the above but I would ios build to a fresh folder each time, i often get problems from building over the same folder (even thought Unity says it will delete it.)

About backing up (in case of unpredictable crud happening.) I keep all my scenes and all assets in the assets folder and I can usually copy that folder to a new project and unity is O$$anonymous$$.

avatar image Paulo-Henrique025 · Jan 30, 2013 at 04:43 PM 0
Share

Everything under the folder Resources will go to the final build, but I don't think it's the cause of your problem.

avatar image Karsnen_2 · Jan 30, 2013 at 04:55 PM 0
Share

Jogo13 : I think you might be right. I might have to do a new build. But I did try that too. Absolutely no change. I actually had to build a completely new scene. WIth a new scene it works well though.

Paulo -> Even though all the files go to the final build, that particular scene has absolutely nothing to do with the only scene on the Build Settings.

0 Replies

· Add your reply
  • Sort: 

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

11 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

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

What must I do to never see this xCode "Could not launch... No Such File or directory..." error again? 1 Answer

[Solved] error copying file from streaming assets on IOS 1 Answer

Three errors that shouldn't be errors 1 Answer

Audio: how do I immediately play a new audioclip without delay(code included)? 2 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