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"

Load UAnimBlueprint crash in Android device

I used LoadAnimBPFromPath to load my AnimBlueprint, but it work well in pc and Mobile preview, but it crashed in Android device, who can help me, thanks,

template ObjClass* LoadObjFromPathPTR(const FString& Path) { return Cast(StaticLoadObject(ObjClass::StaticClass(), NULL, *Path)); }

static FORCEINLINE UAnimBlueprint* LoadAnimBPFromPath(const FString& Path) { return LoadObjFromPathPTR(Path); }

Product Version: Not Selected
Tags:
more ▼

asked Jan 11 '15 at 12:27 PM in Installation & Setup

avatar image

Alex
111 9 13 15

avatar image [Epic] Gribbs ♦♦ STAFF Jan 12 '15 at 07:03 PM

Howdy Alex,

Thank you for porting this issue. I am going to need a bit more information from you before i begin digging into this issue. What version of UE4 are you currently using and is that version a binary build or a source build of the engine? Also, would there be an quick way that i may be able to repro this issue internally?

Any additional information would be greatly appreciated.

Thanks and have a great day!

avatar image Alex Jan 13 '15 at 12:37 AM

It crash in m_Mesh->SetAnimInstanceClass(m_pAnimBlueprint->GetAnimBlueprintGeneratedClass()) on Android device, cloud you help me to fix it or tell me how to debug it.....,

I used Unreal engine 4.6 (version a binary build),

avatar image [Epic] Gribbs ♦♦ STAFF Jan 13 '15 at 06:47 PM

Hey Alex,

Thank you for the additional information. Would you be able to include the build logs from your project when you package? Also, Are you able to see any Android logs when the game crashes? If so, could you also include those.

Also, would you be able to provide a bit more context on how I may be able to reproduce this issue? I am a bit lost on the line that you have provided for setup. Would you be able to recreate this issue form a template project?

Thanks!

avatar image Alex Jan 14 '15 at 11:23 AM

Thanks very nuch,

I don't know how to get debug info or debug my code from Android device, I have created one simple code to play character animation by using SetAnimInstanceClass,

Clound you help me, I have speed more than on week on this problem, Our game ready to publish next month, Please help us, Thanks.

download: http://pan.baidu.com/s/1mgiM93E

avatar image Alex Jan 15 '15 at 10:39 AM

Thanks very much, I solved,

bDontLoadBlueprintOutsideEditor= false

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

1 answer: sort voted first

Howdy Alex,

Glad to hear that the issue has been resolved. Please feel free to reopen this issue in the future if you come across the same error.

Thanks and have a great day!

more ▼

answered Jan 15 '15 at 12:57 PM

avatar image

[Epic] Gribbs ♦♦ STAFF
11.8k 292 14 77

(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