The android game I developed opens late - unity3d

The android game I developed opens late.At least 4 minutes after "MADE with unity" screen, the game screen opens.
I do not experience such a problem in empty projects.
When I add only one ui menu and vehicle model in the game, I still have the same problem.
how can i solve it?
Thanks
non

Are you sure you don't have anything huge inside the project, that makes it load for so long? And have you double-checked that the code might have some sort of sleep-timer, like WaitForSeconds?
It would really help, if you could share some code. Also, have you tried moving the menu and one vehicle to a new project and loading that up?

Related

Having an issue where the on-screen stick component on unity doesnt get dragged anymore

I was working on a game of mine, and the stick was working initially, but on the latest compile, the stick doesn't move anymore, I cant say it it isn't getting clicked or there is an issue with the component, I'm fairly new to unity, please help!
Found the solution myself, I had accidentally Changed the action asset in the event system to a non default one that didn't have the button interactions.

Unity Build installs but leads to a black screen

I'm pretty new in this world and I'm trying to build and run my first Unity project in my Android device but I can't.
The APP is installed correctly but when I try to open it, it pops the screen that says "Made with Unity" and then leads to a black screen where nothing happens and my game doesn't work.
I've used the Android SDK tools for Windows which I have downloaded here1.
Can anyone please help me?
Thanks
This question doesn't help, because there are bajillion ways a Unity build can end up in a blank screen.
So, for the sake of making most of it with so little context, try to do the following steps:
1) Verify the build order is correct: Place always first the scene where your camera is. And try to place the scenes in a way that makes sense in the structure of your game (ex : MainScene - > MenuScene -> GameScene -> LevelScene)
2) Search for errors in build. Probably the most helpful advice i can give. Check the log in your output_log.txt in the build folder as mentioned in this thread: https://answers.unity.com/questions/125049/is-there-any-way-to-view-the-console-in-a-build.html

Unity Interface select on Click in Scene View

Unity won't let me select objects on my scene without first selecting the object in the Hierarchy. This was all I could find on the issue.
However, it seems that they decided that closing and opening the scene window fixed the bug, but not so with me. Also note that I am on a blank project. Its been really difficult to work around this bug.
Edit:
I have even uninstalled Unity and reinstalled with the hopes that this would solve the problem, but unfortunately it did not. Thanks for any help ahead of time.
Honestly this is such an odd problem that I'm having difficulty knowing how to try and fix the problem. I also reported the bug as recommended below by NoëlWidmer, but even the staff who was very kind had no idea how to deal with the problem, and the advice he gave also didn't change a thing. Truly, I don't even know what more information I can give you guys because as I said I literally opened a new Unity project for the first time after reinstalling and was unable to select without first clicking on the hierarchy. Is this just a special freak case that landed with me or has this happened to anyone else?? Also I'm using a two year old Windows 8 Laptop with literally nothing installed on it but the Adobe suite and a few other game developer necessities, so my computer most likely is not the source of the problem.
Edit: a Clue??
Well I was messing around with the scene and hierarchy view in full screen, and I noticed something interesting after clicking on the object in the hierarchy and moving the object in the scene view:
Unfortunately my PrintScreen doesnt show the actual mouse, but as you can see the scene view acts as though I'm clicking on the object, but here at the same time I saw my real mouse off down to the right! Also while I've selected an object on the scene editor and I move my mouse off the scene window things get a bit off and the mouse will pop up on other sides of the window and so on. I don't know if that's normal and its that way for everyone or if it's just me and it might help figure out what's going on.
Man I've really been liking Unity but if this keeps up I think I'll have to drop it and find another software, because I certainly will never be able to design anything worth while if I have to select the object on the hierarchy every time for every single object.
Some bug for me on Mac platform. I resolve just entering and exit from fullscreen mode.
Probably may also work change layout with top-right combo.
I had similar issue while using older versions of unity (in addition inspector window lost the focus repeatedly). In my case rearraging editor windows and saving custom window layout solved it. As far as I remember, I just moved scene view outside Unity window (on the second screen) as well as hierarchy view, and saved resulting position as a new window layout.
Not sure if there is anything else I can tell about it, it's pretty mysterious problem.
I'm overwhelmed with joy right now!! The problem was indeed a bug. I was working on a project and moving objects around (still using the hierarchy to select objects) and then a split second later for absolutely no reason Unity decided to start working the way it should've!!! I guess its just one of those issues where you just have to cross your fingers and hope it'll resolve itself. I'm so glad this dumb issue resolved itself because I was about to tear my hair out and succumb to using another computer for my unity design, or even worse another software. Thank you to everyone who helped!

Unity-iOS: Native iOS code development in Unity project?

I am new to Unity. I have done a character walk animation in 3ds max and imported in Unity. I created Xcode project for iOS through Unity, and animation works as expected.
I want to develop some UI button controls on screen and animate this animation in my iOS app, only when this button is clicked. How do i code it now for this UI controls and events? Do i need do adding these controls and events on the Xcode project (which created by Unity) (or) I can do everything like this kind of native code in Unity itself?
Please advise!
Thank you!
Getsy.
You can do all UI in the Unity itself. You have these options:
Old Unity GUI system. It is pretty easy to program, but it is awful in terms of performance and usability for designers — it's created completely from code, with no editors. It's almost never used in commercial products except for debugging and developer tools. However, it's still a good option for prototypes.
Use other GUI package. There are a lot of 2d and UI packages for Unity of all kinds. Currently the most popular one is NGUI, which is pad, but also has an evalution version.
Create your own UI framework (still in Unity). Just wanted to mention that this is a viable option, but it's obviously the worst one for your case.
Wait for the new 2D/GUI Unity framework. It's supposed to come out in 4.3 version, and it is just around the corner; more than that, the original NGUI author is working on it.
In you place, I'd create basic prototype controls with built-in Unity3d GUI, and by the time I'd need to create something more presentable, new Unity GUI would hopefully already be there.

Freezes application in button action

I doing a game application using cocos2d.In this application two game are include together. When playing game i include a action for switching the game. when i use this button two or three times change the game but after that the game is freezes & not work any more until the game is close the game. If anyone have a solution than give me some information that how can i overcome in this problem.
Are you sure you don't have memory leak problems when switching games?
Its difficult to diagnose correctly with so little information but my guess would be that the switch process isnt done correctly and after a few times some memory/variables get corrupted