-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash from android debug mode #83
Comments
Hi, sorry for the late, Can you try with latest master branch ? Thanks |
I believe I'm seeing something related to what tiantianaixuexi saw at the top. In the 20240430 release, I'm experiencing some very weird crash behavior when spawning a skeletal mesh on Android (Quest 3), inside of The only way I could make it go away was to break up the method into three, where lines 2748-2779 were placed in a separate function, as were lines 2801-2832 (line numbers based on current HEAD). My theory is that there's a compiler bug in how this function is being compiled at its current size, maybe related to it being too large, or that the recursion is breaking an optimization. Frankly, my fix feels too magical, and there's a good chance it's just hiding something else that's going on, but I want to bring it up here in case you know more about this issue. Log snippet: |
Hi, I'm using the latest gltfRuntime version to load the skeletal mesh. It runs very well under Windows, but in Android debugging mode, it will crash directly at breakpoints, and it does not crash in Android development mode. Can you help me check it out?
Engine Version : 5.1.1
1
pc 000000000e1ceef4 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FName FNameHelper::MakeDetectNumber(FWideStringViewWithWidth, EFindName)+300) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
2
#1 pc 000000000e1cedb4 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FName::FName(char16_t const*, EFindName)+104) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
3
pc 000000000b070868 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FglTFRuntimeParser::TraverseJoints(FReferenceSkeletonModifier&, int, int, FglTFRuntimeNode&, TArray<int, TSizedDefaultAllocator<32> > const&, TMap<int, FName, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, FName, false> >&, TMap<int, UE::Math::TMatrix, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, UE::Math::TMatrix, false> > const&, FglTFRuntimeSkeletonConfig const&)+736) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
4
pc 000000000b090568 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FglTFRuntimeParser::TraverseJoints(FReferenceSkeletonModifier&, int, int, FglTFRuntimeNode&, TArray<int, TSizedDefaultAllocator<32> > const&, TMap<int, FName, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, FName, false> >&, TMap<int, UE::Math::TMatrix, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, UE::Math::TMatrix, false> > const&, FglTFRuntimeSkeletonConfig const&)+131040) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
5
pc 000000000b090568 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FglTFRuntimeParser::TraverseJoints(FReferenceSkeletonModifier&, int, int, FglTFRuntimeNode&, TArray<int, TSizedDefaultAllocator<32> > const&, TMap<int, FName, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, FName, false> >&, TMap<int, UE::Math::TMatrix, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, UE::Math::TMatrix, false> > const&, FglTFRuntimeSkeletonConfig const&)+131040) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
6
pc 000000000b090568 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FglTFRuntimeParser::TraverseJoints(FReferenceSkeletonModifier&, int, int, FglTFRuntimeNode&, TArray<int, TSizedDefaultAllocator<32> > const&, TMap<int, FName, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, FName, false> >&, TMap<int, UE::Math::TMatrix, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, UE::Math::TMatrix, false> > const&, FglTFRuntimeSkeletonConfig const&)+131040) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
7
pc 000000000b090568 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FglTFRuntimeParser::TraverseJoints(FReferenceSkeletonModifier&, int, int, FglTFRuntimeNode&, TArray<int, TSizedDefaultAllocator<32> > const&, TMap<int, FName, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, FName, false> >&, TMap<int, UE::Math::TMatrix, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, UE::Math::TMatrix, false> > const&, FglTFRuntimeSkeletonConfig const&)+131040) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
8
pc 000000000b06c91c /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FglTFRuntimeParser::FillReferenceSkeleton(TSharedRef<FJsonObject, (ESPMode)1>, FReferenceSkeleton&, TMap<int, FName, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, FName, false> >&, FglTFRuntimeSkeletonConfig const&)+1340) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
9
pc 000000000b11aad4 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FglTFRuntimeParser::LoadSkinnedMeshRecursiveAsRuntimeLOD(FString const&, int&, TArray<FString, TSizedDefaultAllocator<32> > const&, FglTFRuntimeMeshLOD&, FglTFRuntimeMaterialsConfig const&, FglTFRuntimeSkeletonConfig const&)+3040) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
10
pc 000000000b119a44 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (FglTFRuntimeParser::LoadSkeletalMeshRecursive(FString const&, int, TArray<FString, TSizedDefaultAllocator<32> > const&, FglTFRuntimeSkeletalMeshConfig const&)+120) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
11
pc 000000000b00e370 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (UglTFRuntimeAsset::LoadSkeletalMeshRecursive(FString const&, TArray<FString, TSizedDefaultAllocator<32> > const&, FglTFRuntimeSkeletalMeshConfig const&)+308) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
12
pc 000000000afcdb50 /data/app/~~4Aj1_iIcxFJncNziIeJ2Sg==/cn.bxtech.app-d5UyL4hjvK3HOSXl9DwT5g==/lib/arm64/libUnreal.so (UglTFRuntimeAsset::execLoadSkeletalMeshRecursive(UObject*, FFrame&, void*)+636) [arm64-v8a::e9aee9afd592dde951f59fad9f25537e]
20231123095640450.zip
The text was updated successfully, but these errors were encountered: