Jump to content
  • Advertisement
Sign in to follow this  
snortastic

Some sprites aren't visible on mobile?

This topic is 840 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Everybody! biggrin.png
 
I hope I'm posting in the correct area. Just got a problem with my personal little sidescroller I'm making on UE4 4.10.
 
THE ISSUE: After launching the game to my phone, the enemy and each instance of it aren't visible. It's still there moving, attacking and getting hit from player damage. So the functionality is fine... I basically just now have an invisible enemy.
 
How can I resolve or troubleshoot this? 
 
Thank you!
Edited by frob
Fix title

Share this post


Link to post
Share on other sites
Advertisement

Changed the sprite/flipbook, and it's still not working. I think it's may be something in my blueprint for this particular enemy.

Edited by snortastic

Share this post


Link to post
Share on other sites

The problem of "I cannot see something" could be many issues. You've got visibility flags, alpha, lighting, positioning, culling, texture errors, material errors, model errors, and much more.

 

You posted in mobile and tagged it as Android.  Does this only happen when you run on the device? Or does this happen if you run on the desktop as well?

Share this post


Link to post
Share on other sites

Yes it only happens on the device. It works fine in all ue4 play/simulation modes.

The device is a Note 5. My buddy is coming over with an iPhone 6, and we're going to see if it happens on that too. 

Share this post


Link to post
Share on other sites

I just tried to fully package the game and run it on my Note 5, but the same issue occurs. I'm not seeing any errors or warning when I compile the game. How can I debug the game on the phone?

Share this post


Link to post
Share on other sites

From the docs, it looks like you need to install their custom Android SDK project "Android Works".  You'll also need to tap the build number until you are in developer mode, attach to the ADB debugger, and follow all those steps. 

 

Make sure your textures are the right format for your device to eliminate that potential issue.  

 

Then check the program logs.  They might be in \MyProjectName\MyProjectName\Saved\Logs, or you can access additional logs through adb with: adb logcat -d > my_device_log.txt

Share this post


Link to post
Share on other sites

I appreciate your help! I'm just a modest designer.

Can you post the link of the particular docs you're looking at please. 

Also, where can I check for the correct textures?

In the most recent logs I find no errors or warnings. 

The symptom is the enemy is invisible but fully functions. What  are common solutions to that issue?

Thanks much!

Share this post


Link to post
Share on other sites

Update: I ran my game on not just the Note 5, but a iPhone 4s, 5, and 6 Plus. Same issue occurs in each instance. 

The part of my character that isn't visible on mobile is a Paper2D sprite Flipbook.

I hope this additional information helps.

Share this post


Link to post
Share on other sites

I appreciate your help. Here are some screenshots that may help diagnose and resolve the issue.

Enemy Blueprint, Enemy Viewport, World Settings and the Flipbooks settings. 

Let me know if I can add anything else to help. Thank you!

 

83859-bp_enemy_template_horizontalmoveme

83871-enemy_viewport.png83872-world_settings.png

83875-the_flipbook.png

Edited by snortastic

Share this post


Link to post
Share on other sites

What  are common solutions to that issue?

Graphics that are of the wrong format, models that are incompatible, lighting that is not configured correctly, shaders that aren't compatible with the devices, and more.

 

The documentation covers these limitations, I suggest working through this, this, and this, ensuring they have settings that are compatible.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!