简体   繁体   中英

Game Object working in scene and game view, but completely invisible in Android build

I have thoroughly searched on the web but I couldn't find anyone with my same problem.

I'm working on a 3D game for Android using Unity. Everything works fine within the editor and on the Unity Remote app, but when I build the project, install it on my smartphone and start it... I can't see a game object.

A screen of the project:

在此处输入图片说明

As you can see, the sword is active and visible in the editor, but once I start the actual build I get this:

在此处输入图片说明

I can't understand what's wrong, could someone kindly help me? Many thanks.

Does the material of the sword have the standart shader? If so try one of the mobile ones.

Another idea would be to upgrade to one of the newer p versions of Unity.

Since the sword has a rigidbody, have you enabled gravity and somehow disabled collision and its falling through the ground?

Other than that, it could be a shader problem.

Problem solved. I upgraded from Unity 5.3.2 to 5.3.4, re-built the project and everything works like a charm now.

Sometimes Unity can be... strange.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM