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 /
avatar image
1
Question by Alex123 · Jun 08, 2011 at 03:29 AM · androidloadglitchdisplaysplash

Android Glitch - random assets display after splash screen

After the splash screen on android I get a quick view of a couple of random assets (GUI.Textures) from a different scene which shouldn't even be loaded.

They seem to be positioned correctly according to their scene (though it doesn't seem to load any of the other objects from that scene). I get the same problem on both of our test devices.

Sorry if this has been asked before, I had a look but it's hard to even know what to search for.

Cheers

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 Peter G · Jun 08, 2011 at 03:36 AM 0
Share

First I would check this page to see if your device has been tested on. Either way it sounds like a bug to me.

avatar image Alex123 · Jun 08, 2011 at 05:30 AM 0
Share

Both devices present the problem. One is the Samsung Galaxy S which I understand is pretty solid. The other is Sharp IS03.

The bug doesn't show up in the editor.

avatar image Alex123 · Jun 21, 2011 at 02:03 AM 0
Share

Just an update to this problem.

It seems like a rare, very strange problem, but not unique to my situation I think and might be worth having a look at maybe by the Android debug $$anonymous$$m?

The bug -- 2 art assets (GUI) display themselves before any scenes load (and the assets aren't from any of the first scenes either).

I have tried - deleting the textures - works, but I obviously need them.

Texture problem? $$anonymous$$aybe not - I have taken back into photoshop, changed res, saved out to a new filename and directory then re-imported them into the game and...

GUI objects - the problem initially came from Texture2D (unity GUI) so after the above, I also deleted the variables and the code that displays the textures, made a new GUI style and changed the HUD items to GUI buttons with new variable names. Also changed the line numbers.

  • result - the exact same textures displayed on game load :S

I just don't get how there would be any association to the old textures/gui objects. How are they linked in Unity? I feel like I've changed everything.

1 interesting thing, if I delete the texture from the GUI style (so the slot is empty), the problem doesn't present itself (meaning it might have to do with the GUI item /and making itself in compilation?)

Also when the textures/object display they appear to be to same aspect ratio as they are used in game, but not the same scale (like they're on a larger scaled quad)

Sorry for the long post.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Alex123 · Jun 25, 2011 at 01:44 PM

First time user, my bad! ><

I had been using my own scene organisation code (which checked for different objects such as the account manager and returned to the load scene if they weren't loaded).

Because of this I had falsely assumed that the game built from the current loaded scene and had never noticed scene order (which I remembered reading after><).

Answer - The wrong scene (0) was loading and a couple of it's assets were being displayed before it returned to the load scene. Strangely I didn't have this problem in web/editor or on iPhone or it would have been obvious early in development. In fact I didn't even really consider that my original stuff was wrong because of this:P

Thanks to Hiroki Omae-san!

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

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

2 People are following this question.

avatar image avatar image

Related Questions

Android Graphical Glitch 2018.2.1f1 1 Answer

How can I fix a rippling display problem in my Android Unity racing game? 2 Answers

Save and Load in the build 0 Answers

How to prevent single frame render on boot? 0 Answers

Loading and saving default files on Android 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