x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Device crash on " Open Level "

So i'm testing my game on IOS, currently my game has 6 level, the main menu level and 5 playable levels, i package all my levels, i can access them in the device however, only through one level (Level 1) the way i'm doing this is by a box trigger (on overlap - open level). Through the " Main Menu " to " Level 1 " to " Level 2 " work great but when i'm on " Level 2 " to go to " Level 3 " and beyond the game crash on my ios device, i package the level individuality and work great no crashes, i put all of the level box trigger in level 1, package the game with all the level and from level 1 i access all the box trigger and open level without any problem.

I'm a missing something on level 2 and beyond or is this a bug ?

Also it work on the editor, Stand alone ect.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 19 '16 at 05:10 PM in Bug Reports

avatar image

Juanjose09
111 9 14 22

avatar image Adam Davis STAFF Jul 19 '16 at 07:33 PM

Hi Juanjose09,

Unfortunately I have not been able to reproduce this on my end thus far.

  • Have you tried the troubleshooting steps listed on either of these pages?

https://wiki.unrealengine.com/Package_and_Deployment_Troubleshooting

https://wiki.unrealengine.com/Mobile_Development_Troubleshooting_Guide

  • What steps can I take to reproduce this on my end?

  • Have you tried this in a clean, blank project with no additional content or is it limited to one project?

  • Can you show me a screenshot of how you are setting up your level switch?

avatar image Juanjose09 Jul 19 '16 at 08:07 PM
  • I don't have problem packaging the game it just crash when switching level

  • I don't know i'm doing it very simple and straight forward (Box Trigger - OnOverlap - OpenLevel) On the screenshot i got a widget but i also eliminated the widget and connect the " Overlap " with "OpenLevel " but keep crashing with or without the widget . Also the GameMode i'm using on level 2 through out level 5 in on NONE, i switch the GameMode as the same as level 1 but din't work the game keep crashing.

  • Yea i tried a clean map but keep crashing.

The name are correct, pretty much everything is set up right because on Level 1 i can switch to any level but when the box trigger are in a different level the game crash even trying to go back to level 1.

avatar image Adam Davis STAFF Jul 20 '16 at 03:21 PM

Can you post your crash logs here so I can take a look? You can find how to get the logs from the Mobile Troubleshooting Guide listed above.

avatar image Juanjose09 Jul 20 '16 at 06:35 PM

Here's the log.

myproject2.log (31.2 kB)
avatar image Adam Davis STAFF Jul 20 '16 at 06:41 PM

What specific phone/OS are you packaging for?

avatar image Juanjose09 Jul 20 '16 at 06:45 PM

IPhone 6 9.3

avatar image Adam Davis STAFF Jul 20 '16 at 08:11 PM

Can you send me your project? I'll be happy to test this on my end and see if I can reproduce the error or see what may be occurring.

avatar image Juanjose09 Jul 21 '16 at 12:24 PM

Do you have a private email ?

avatar image Adam Davis STAFF Jul 21 '16 at 01:36 PM

You can send me a private message on the forums by going to https://forums.unrealengine.com/member.php?49-Adam-Davis

avatar image Juanjose09 Jul 22 '16 at 03:48 PM

Any Update ?

avatar image Adam Davis STAFF Jul 22 '16 at 05:14 PM

Hi Juanjose09,

Please give up to 4 days to allow us to properly test a potential bug. If after 4 days you have not heard a response, feel free to bump the thread once.

avatar image Adam Davis STAFF Jul 22 '16 at 06:18 PM

I have been looking into this error on my end. Unfortunately, the project you have sent does not package. There are numerous warnings and compilation errors, predominantly centered around the player character blueprint. Please try fixing these errors and packaging again to iOS.

avatar image Juanjose09 Jul 22 '16 at 07:12 PM

I'm aware of the warning but those are not related to the issue about opening levels crash, i don't have any issue packaging the project maybe i miss a file that preventing you from packaging the game or that error is happening in your end, delete the file if the you think that's preventing you from finding the bug on open level.

avatar image Adam Davis STAFF Jul 25 '16 at 02:32 PM

The errors I am getting are all tied to the character blueprint you are using. Can you resend the project with all assets that are utilized? This should allow me to check the packaging issue without the errors I'm seeing.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Juanjose09,

We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.

more ▼

answered Jul 29 '16 at 03:21 PM

avatar image Juanjose09 Aug 19 '16 at 04:19 AM

Here's a update, i fix all the warning that gave me when packaging, but no luck it still crash, I created 10 new maps and work fine unti it get to the 3 map, when switching to the 4 map it crash, however now i can switch from 1 through 3 back and forward ¿Progress? I read from a couple of people who are having the same issue that a texture or a material was causing the crash when opening level but I can't find anything that may cause the crash. The crashlog say something about LogMetal : Loaded a non-offline compiled shader ( will be slower to load ) but it wont tell me what it is. I also think could be a texture or a material since i got performance issue after reading a document about mobile have a size limit according from the link below

https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Textures/index.html

Unfortunately I cannot send you the project again with all the assets due to the reason my wifi card in my computer got damage due to power shortages and my computer don't have a phone/internet cable plug, to plug in.

myproject2.log (36.6 kB)
avatar image Adam Davis STAFF Aug 19 '16 at 03:24 PM

Can you send me a copy of your dxdiag? To get this, go to your windows start menu>Search>dxdiag and press the "Save all information" button.

avatar image Juanjose09 Aug 19 '16 at 07:26 PM

In LogMetal : Loaded a non-offline compiled shader ( will be slower to load ) how do i know, what it is thats is being loaded slowly ?

dxdiag.txt (75.0 kB)
avatar image Adam Davis STAFF Aug 20 '16 at 01:56 PM

After looking at your logs, I believe you are running out of memory, either on the device or on your pc while launching. What size textures are you using in the project? Have you tried removing your materials folder from the content browser, then trying to launch to see if this makes a significant difference?

avatar image Juanjose09 Aug 22 '16 at 06:52 AM

The sizes of the texture are randomly. I remove my material and texture folder and yes it improved alot, im not experiencing any crash on opening level except for one map, but 10 out of 11 map is a big improvement, i also create 5 new map with one object in it and im not experiencing any crash as well, so i guess the problem is on the textures and materials. How do i know which one is causing the crash? Is there a specific size for mobile ? Do the size of the texture impact performance like hiccups which I'm also experiencing?

avatar image Adam Davis STAFF Aug 22 '16 at 05:26 PM

Hi Juanjose09,

Here are the sizes available for mobile devices:

alt text

The sizes of textures and materials easily could have an impact on your games performance.

You can find more on materials for mobile devices here:

https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Materials/

Follow the guidelines on these pages that have been linked and see if your error still occurs.

The best thing to do to determine the cause of the crash is to remove the folder, then add each material/texture back one at a time until the crash occurs again.

materialsizes.png (17.6 kB)
avatar image Juanjose09 Sep 06 '16 at 01:50 PM

Resolve!

A materal was causing the crash.

At the moment i'm not experiencing any crash since I removed my material folder.

Thanks for the help.

However I still experiencing some performance issues since this is another topic I posted a new answer hope you can help me out since you already know a couple details

https://answers.unrealengine.com/questions/483181/mobile-performance-issues-on-ios-device.html

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question