Comments (20)
@alllesss I can reproduce your issue now on a S8. So it looks like a pure Unreal issue, basically if you set your timezone on your phone with something like xx:30, you will get the crash.
I haven't got a chance to try it but If you can also reproduce the crash with a general Unreal Android app, like the ThirdPerson template, you should fill a bug to Epic and let them fix on their side.
from arcore-unreal-sdk.
from arcore-unreal-sdk.
from arcore-unreal-sdk.
Did you see the app asked for External Read/Write permission the first time you launch the app? If not, can you try change your Target SDK to 24 and rebuild the app?
From the logcat, it looks like you app crashes because it couldn't load the Internationalization file, which is very likely caused by lack of Android External Read Permission on you app.
Though you shouldn't need to request runtime read permission if your Min/Target SDK is 19, but my guess is since you build with ARCore support, and the ARCore library is targeting Android 24 which make you app target 24 as well.
And after you set Target SDK to 24 in Unreal, it should request External Read/Write permission when the app started.
from arcore-unreal-sdk.
@bopangzz I've never got Read/Write permissions. however, I checked the app's permissions defaults and read/write is already enabled.
Tried SDK 24 still crashes. with no permission being asked.
So the crash is, it loads Unreal Splash screen for a sec and then closes the app.
from arcore-unreal-sdk.
Hmm, then it isn't the permission problem. This is the crash callstack from your log:
03-16 11:43:20.115 16961 16961 F DEBUG : #00 pc 020c35d4 /data/app/com.ARtest-1/lib/arm/libUE4.so (_Z9vswprintfPwiPKwSt9__va_list+1324)
03-16 11:43:20.116 16961 16961 F DEBUG : #1 pc 022457a4 /data/app/com.ARtest-1/lib/arm/libUE4.so (_ZN4FMsg17Logf_InternalImplEPKciRK5FNameN13ELogVerbosity4TypeEPKwz+796)
03-16 11:43:20.116 16961 16961 F DEBUG : #2 pc 021a55e0 /data/app/com.ARtest-1/lib/arm/libUE4.so (_ZN24FICUInternationalization18InitializeTimeZoneEv+300)
03-16 11:43:20.116 16961 16961 F DEBUG : #3 pc 021a34a0 /data/app/com.ARtest-1/lib/arm/libUE4.so (_ZN24FICUInternationalization10InitializeEv+2752)
03-16 11:43:20.116 16961 16961 F DEBUG : #4 pc 0219aa54 /data/app/com.ARtest-1/lib/arm/libUE4.so (_ZN21FInternationalization3GetEv+164)
03-16 11:43:20.116 16961 16961 F DEBUG : #5 pc 0223a538 /data/app/com.ARtest-1/lib/arm/libUE4.so (_Z25BeginInitTextLocalizationv+12)
03-16 11:43:20.116 16961 16961 F DEBUG : #6 pc 0209feb8 /data/app/com.ARtest-1/lib/arm/libUE4.so (_ZN11FEngineLoop7AppInitEv+68)
03-16 11:43:20.116 16961 16961 F DEBUG : #7 pc 0209b040 /data/app/com.ARtest-1/lib/arm/libUE4.so (_ZN11FEngineLoop7PreInitEPKw+8880)
03-16 11:43:20.116 16961 16961 F DEBUG : #8 pc 0208a4c8 /data/app/com.ARtest-1/lib/arm/libUE4.so (_ZN11FEngineLoop7PreInitEiPPwPKw+3928)
03-16 11:43:20.117 16961 16961 F DEBUG : #9 pc 02088ea4 /data/app/com.ARtest-1/lib/arm/libUE4.so (_Z11AndroidMainP11android_app+2780)
03-16 11:43:20.117 16961 16961 F DEBUG : #10 pc 02095d48 /data/app/com.ARtest-1/lib/arm/libUE4.so (android_main+204)
03-16 11:43:20.117 16961 16961 F DEBUG : #11 pc 020b55d8 /data/app/com.ARtest-1/lib/arm/libUE4.so
03-16 11:43:20.117 16961 16961 F DEBUG : #12 pc 00047a63 /system/lib/libc.so (_ZL15__pthread_startPv+22)
03-16 11:43:20.117 16961 16961 F DEBUG : #13 pc 00019e65 /system/lib/libc.so (__start_thread+6)
It looks like a general UE4 crash and it is not related ARCore. I assume you packaged the project and install it on your phone using the install script? Can you try check the "Package game data inside APK" checkbox in Project Settings->Android and repackage the game? Another thing to try is start your game using the Unreal launch button.
from arcore-unreal-sdk.
I tried installing the APK and lunch. with both methods I got crash. also checked it in my friend's S7 and still crashed.
So you're right this should be the problem of UE4's build. I saw another person ran into the same problem in UE4's answerhub. If it expands then we should hear back from Epic I guess.
from arcore-unreal-sdk.
Yeah, I found some one reported similar problem on UE4 forum: https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1413780-unreal-engine-4-19-preview/page11
Which timezone you phone is set to? I tested a 64 bit build on a S8 and I didn't see the crash.
from arcore-unreal-sdk.
My time zone is set to Tehran UTC+03:30
from arcore-unreal-sdk.
I went through the same steps as the AR template in version 4.19.0 with the Galaxy S7 device.
The same problem (crash) occurred.
I saw the log and I do not know what the problem is in Log.
my_device_log.txt
ARTeamplate_4_19_0.log
I have run and tested with the Galaxy s7 device with the HelloARUnreal Sample Project, which was previously the steps in the link below.
https://developers.google.com/ar/develop/unreal/quickstart
I am not sure that the AR plug-in installed in Unreal 4.19.0 currently works properly with Galaxy S7 devices.
Please Anyone here on the web page should check if the AR template can be run on the Galaxy S7 device in version 4.19.0.
from arcore-unreal-sdk.
@freelife0417 Your crash is a different problem. It looks like you are using Vulkan instead of open gles in your build? ARCore doesn't support Vulkan yet. Can you try build without vulkan enabled?
from arcore-unreal-sdk.
@bopangzz
I solved the problem with your answer.
Thank you.
Personally I'm curious, Could you tell me where you saw the vulcan api error message in the log?
from arcore-unreal-sdk.
@freelife0417 I don't see vulcan api error message bug. I just saw logs from VulkanRHI which indicates it is using Vulkan.
from arcore-unreal-sdk.
@bopangzz some1 in ue4's forum mentioned that the crash doesn't occur with Android 7. can you confirm it's related to android version and ARcore doesn't support Android 8 ?!
If so, it's pretty weird though
from arcore-unreal-sdk.
@alllesss ARCore should works fine with Android 7. I don't think that timezone related crash has anything to do with ARCore. Have you tried build the ThirdPerson template on Android, which doesn't have ARCore plugin enabled?
from arcore-unreal-sdk.
@bopangzz oh wow! was exactly that ... I tried xx:00 time zones and it worked. will file a bug to Epic. Thanks!
from arcore-unreal-sdk.
The crash that related to timezone should be fixed in Unreal 4.19.1. If you are using Epic's Unreal Engine releases, you should have the fix after upgrading to 4.19.1. If you are using the forked GoogleAR Unreal Engine repo, it will be updated to 4.19.1 in our next release.
from arcore-unreal-sdk.
Hi i have problem with UE 4.21.2 on samsung galaxy 8 app is closing on phone
from arcore-unreal-sdk.
@hanson1985 @jiomex Please capture a Android logcat of the crash and I can help take a look.
from arcore-unreal-sdk.
the same on my note 8, with latest Android 9
from arcore-unreal-sdk.
Related Issues (20)
- Take a photo and store it on the device HOT 3
- ARCore ArgmentedImages sample unable to load skeletal mesh with animation HOT 8
- Static Mesh actor doesnt appear on top of image tracked
- Augmented images Tracking. HOT 2
- Has the arcore sdk based on unrealengine version 4.22 been released yet ?
- Arcore for unreal 被放弃了吗?好久没有更新了,for unity,ios,android都持续在更新
- Can detect images, but black screen (UE4.25p7) HOT 2
- 4.25 errors and cannot package the HelloARUnreal HOT 3
- The GoogleARCore plugin (https://github.com/google-ar-unreal/UnrealEngine.git) disappeared
- "ARCore Session failed to start due to unsupported configuration" error with custom made images PLZ HELP HOT 1
- imagetracked trackingstate doesn't work HOT 1
- Black camera overlay with augmented images HOT 1
- Google ARCore Services Plugin does not work for IOS
- Failed to package Android ASTC
- Unreal ARCore / ARTemplate - ARTemplate Black Screen after Stopping and Restarting ARMode HOT 4
- Cloud AR Pin Build Error
- Depth API ?
- Ureal Plugins GetARTexture() didn't work HOT 2
- Expression transformation acquisition failed in 4.26 HOT 3
- APK created using unreal AR handheld template crashing on phones with android version below 13 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcore-unreal-sdk.