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"

About mobile rendering issue

On mobile(any ios version on all ios devices,even on metal),everytime I use SpawnActorFromClass to spawn a BP class or use a SpawnEmitterAtLocation to spawn particles during runtime on mobile, the game will get stuck for a second or more to render(at first time),this really influences experience,and this never happens on my PC...Even very simple BP or particle will happen that hitches...I have found no solution right now... I found that in UE4 roadmap,there's a new card like screenshot below maybe have something to do with it,but it still in wishlist... And I remember that the Zen Garden created by UE4 running on metal ios8 doesn't have this issue,I know it must have used the dynamic spawn method,but never get stuck on ios during runtime,how is it optimized? Could you please help me how to solve that issue on mobile,since that it is a really really big problem..Thanks a lot! alt text

Product Version: UE 4.9 Preview
Tags:
more ▼

asked Aug 16 '15 at 01:26 AM in Rendering

avatar image

hls333555
396 63 80 106

avatar image rckt26 Aug 16 '15 at 03:22 AM

I think this concerns the problem you are having.

"If you cook with Windows, the shaders will not be precompiled because there is no shader compiler program for Windows. It will compile the shaders at runtime if this is the case (it uses the offline/online flag for looking up the shader in the DerivedDataCache, so both modes live together correctly)."

https://wiki.unrealengine.com/Metal_Rendering_API

avatar image hls333555 Aug 16 '15 at 05:24 AM

Thanks very much.Maybe that concerns a lot.But is there a way to prevent this using Metal?The document doesn't cover that.

avatar image rckt26 Aug 17 '15 at 02:19 AM

I think you have to have a mac to precompile the shaders with xcode. I have this problem too but I haven't gotten to the point of using a mac yet.

avatar image rckt26 Sep 23 '15 at 04:56 AM

I'm on a mac now and still have the same problem so I'm not sure what that metal rendering link that I posted is referring to. I'll probably submit a question my self if no one else responds to this.

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

0 answers: sort voted first
Be the first one to answer this question
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