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"

Why Do Certain Game Values Change - When Cooked Down To Mobile?

After doing several mobile cook downs recently, I've noticed that certain values do not transfer over consistently to the phone.

For example, the characters jump height is slightly less.... doors open/close much faster than they should (even using delta time on interps) It seems some values are exaggerated while others are weakened.

This project runs brilliantly during editor testing.. but I can't seem to get the same consistency during the phone conversion (cook down). Any help or ideas as to why this might happen would be greatly appreciated. Thanks

Product Version: UE 4.15
Tags:
more ▼

asked May 12 '17 at 05:14 AM in Packaging & Deployment

avatar image

vicecore
258 8 8 12

avatar image redbox May 12 '17 at 06:21 AM

Precision, its all about precision...

After cooking float values becomes half, smooth curves turns into broken lines and so on...

And I think devices itself produces some cuts.

avatar image vicecore May 13 '17 at 03:56 PM

Thanks Redbox ..I think both of you guys are correct in a sense. Seems like some values are in fact halved or doubled. Others are barely noticeable.

So when you say "precision" - what you mean is to change values to what you think they should be on a phone ..and then keep cooking down until you get the desired result?

avatar image redbox May 13 '17 at 05:32 PM

It depends. Some cases you can fix by tweaking values (for example jump velocity). Another - by changing implementation. For example, by replacing lit materials with unlit but with faked lightning. And there is something you should ignore, because it requires many time to fix or it is not really noticeable and your project can live with it.

avatar image Matthew J May 12 '17 at 02:12 PM

Hello Vicecore,

Your values shouldn't be changing drastically when cooking for mobile, so could you give me an example that can be reproduced in a fresh project? I'd like to look into this.

As for redbox's comment, while float precision errors do exist, it's something that would rarely be noticeable and absolutely would not cause a value to be halved.

avatar image vicecore May 13 '17 at 03:36 PM

Thanks Matthew.. for your timely response & interest in resolving this. If you give me some time, I can try and recreate these problems in a new project.

However, I'd be more than happy to send you this project. Again, it runs fantastic in the editor. But if you can cook it down to your/a phone - and run it ..you would clearly see what I'm attempting to explain.

If that works for you, just let me know the best way to get it to you and I'll send it. I'm working today but my partner is off watching this post. He can send it via google drive when you respond back.

Thanks again!

avatar image Matthew J May 15 '17 at 02:43 PM

You can send the project by sending a link to me through a private message on our forums.

avatar image vicecore May 18 '17 at 06:48 PM

Thanks Matthew, sorry for the delay.. I'm available this afternoon/ this evening. No problem, I'll send you a private message.

Is there another way other than DropBox? because if not I would have to update my account.

avatar image Matthew J May 18 '17 at 06:52 PM

Anything that you can send a download link from would be fine, such as Google Drive.

avatar image vicecore May 18 '17 at 07:48 PM

Working on that now ..may take up to an hour (for some reason)

Hopefully have this to you very soon

avatar image vicecore May 18 '17 at 06:52 PM

Ok - So I got the project on my google drive. The thing is I would need an email address so that I can "Share it" Tried sending a private message, but it's says that requires permission.

You can email me at c*#@c@gmail.com. Then when I get your email, I can then share it

avatar image Matthew J May 19 '17 at 01:45 PM

You shouldn't need any permission to send a private message through our forums. Please use the following link to bring up the form to send a message. If you're still getting some sort of permission error, please take a screenshot of the message it's giving you.

https://forums.unrealengine.com/private.php?do=newpm&u=36033

avatar image vicecore May 21 '17 at 07:13 AM

alt text

avatar image vicecore May 21 '17 at 07:16 AM

Yea man, not sure why I'm getting that error. I know I've used private messaging before. Sorry for any inconvenience

avatar image Matthew J May 22 '17 at 02:49 PM

As it mentions, maybe your forum account hasn't been activated yet. I'm going to leave a private comment that only you and the moderators can see. If you reply to the private comment, your reply will be private as well.

avatar image Matthew J May 22 '17 at 04:18 PM

Thank you for providing the project. I'm packaging it now to see if I get the same results.

Unrelated to the issue itself, I noticed the size of the project and of some of the assets themselves. I just wanted to point out that many of the assets included are fairly high poly for an Android/iOS project. It would be a good to use lower poly assets if you can, moving forward. A good example is the milkBox and FireExtinguisher.

avatar image Matthew J May 22 '17 at 05:57 PM

I packaged the project out (limiting the packaging to just the SideScrollerExampleMap, as the OBB file for the package was way too large otherwise) and didn't see any odd behavior. Since you mention the values in question are related to interps using delta time, could it be related to framerate issues? You can try simulating a low framerate on your PC by using the t.MaxFPS # console command to set a maximum framerate.

avatar image vicecore May 22 '17 at 08:12 PM

Thanks again Matthew, we're going to take a day or so to look over all the info you shared with us - and we're going to do some more cook downs.

Hopefully, the info you provided will help clear up our existing issues. Either way I'll be in touch to inform you of the outcome.

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

1 answer: sort voted first

We haven't heard from you in a while, vicecore. Are you still experiencing this issue? If so, what were the results of testing what I mentioned? In the meantime, I'll be marking this issue as resolved for tracking purposes.

more ▼

answered Jun 02 '17 at 07:22 PM

(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