Skip to content
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

ARPlayGround LoadPOIList 호출 관련 이슈 #9

Open
njelkom opened this issue Jan 8, 2024 · 12 comments
Open

ARPlayGround LoadPOIList 호출 관련 이슈 #9

njelkom opened this issue Jan 8, 2024 · 12 comments

Comments

@njelkom
Copy link

njelkom commented Jan 8, 2024

현장 테스트 도중 에디터 환경일 때와 다른 결과가 나타나는 문제가 있어 문의 드립니다.

인천 1호선 센트럴 파크역에 대해서
에디터 실행시에 정상 동작 하는 반면
현장 테스트 에서 NetworkController 400 에러가 나면서
AMapper Project를 읽지 못하는 현상이 있는 것 같습니다.

아래 400 에러 로그와 자체적으로 출력한 로그 첨부 드립니다.


2024/01/08 17:43:43.538 17879 17914 Info Unity [Debug] [2024-01-08 17:43:43] [NetworkController]
2024/01/08 17:43:43.538 17879 17914 Info Unity Method - POST
2024/01/08 17:43:43.538 17879 17914 Info Unity URL - https://vl-arc-eye.ncloud.com/api/v1/184/52f11620e397f867b7d9f19e48caeb64658356a6b5d17138c00dd9feaf5d7ad6/location
2024/01/08 17:43:43.538 17879 17914 Info Unity filename - 1704703423514,true.jpg
2024/01/08 17:43:43.538 17879 17914 Info Unity params -
2024/01/08 17:43:43.538 17879 17914 Info Unity cameraParameters : 494.375793,494.358826,234.204834,317.208435,0,0,0,0,0
2024/01/08 17:43:43.538 17879 17914 Info Unity odometry : 5,0,0,1,0,0,0
2024/01/08 17:43:43.538 17879 17914 Info Unity lastPose : -141.204,13.4886,-0.949839,0.983151,0.00936731,0.0201747,-0.181438
2024/01/08 17:43:43.538 17879 17914 Info Unity
2024/01/08 17:43:43.538 17879 17914 Info Unity
2024/01/08 17:43:43.538 17879 17914 Info Unity ARCeye.LogViewer:DebugLog(LogLevel, String)
2024/01/08 17:43:43.538 17879 17914 Info Unity d__26:MoveNext()
2024/01/08 17:43:43.538 17879 17914 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2024/01/08 17:43:43.538 17879 17914 Info Unity NetworkController:OnSendingRequestAsync(VLRequestBody, Texture, Int32)
2024/01/08 17:43:43.538 17879 17914 Info Unity ARCeye.PoseTracker:UpdateUnityFrameNative(UnityFrame)
2024/01/08 17:43:43.538 17879 17914 Info Unity ARCeye.PoseTracker:UpdateFrame(Matrix4x4, Matrix4x4)
2024/01/08 17:43:43.538 17879 17914 Info Unity ARCeye.DevicePoseTracker:OnCameraFrameReceived(ARCameraFrameEventArgs)
2024/01/08 17:43:43.538 17879 17914 Info Unity UnityEngine.XR.ARFoundation.ARCameraManager:InvokeFrameReceivedEvent(XRCameraFrame)
2024/01/08 17:43:43.538 17879 17914 Info Unity UnityEngine.XR.ARFoundation.ARCameraManager:Update()
2024/01/08 17:43:43.538 17879 17914 Info Unity
2024/01/08 17:43:43.551 17879 19457 Error native E0000 00:00:1704703423.551574 19457 plane_estimator.cc:886] Error converting depth to landmarks: INTERNAL: Landmarks are empty.
2024/01/08 17:43:43.551 17879 19457 Error native === Source Location Trace: ===
2024/01/08 17:43:43.551 17879 19457 Error native third_party/redwood/perception/planes/plane_detection/planes_from_depth_utils.cc:214
2024/01/08 17:43:43.649 17879 19457 Error native E0000 00:00:1704703423.649276 19457 plane_estimator.cc:886] Error converting depth to landmarks: INTERNAL: Landmarks are empty.
2024/01/08 17:43:43.649 17879 19457 Error native === Source Location Trace: ===
2024/01/08 17:43:43.649 17879 19457 Error native third_party/redwood/perception/planes/plane_detection/planes_from_depth_utils.cc:214
2024/01/08 17:43:43.741 17879 19457 Error native E0000 00:00:1704703423.741875 19457 plane_estimator.cc:886] Error converting depth to landmarks: INTERNAL: Landmarks are empty.
2024/01/08 17:43:43.741 17879 19457 Error native === Source Location Trace: ===
2024/01/08 17:43:43.741 17879 19457 Error native third_party/redwood/perception/planes/plane_detection/planes_from_depth_utils.cc:214
2024/01/08 17:43:43.774 17879 17914 Warn Unity [Warning] [2024-01-08 17:43:43] [NetworkController] HTTP/1.1 400 Bad Request
2024/01/08 17:43:43.774 17879 17914 Warn Unity ARCeye.LogViewer:DebugLog(LogLevel, String)
2024/01/08 17:43:43.774 17879 17914 Warn Unity d__26:MoveNext()
2024/01/08 17:43:43.774 17879 17914 Warn Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

로드 부분에서 로그 추가
현장 테스트 )
2024/01/08 17:43:42.552 17879 17914 Info Unity @@@@@@ AMapper Load -> SubwayMapData/CentralPark
2024/01/08 17:43:42.576 17879 17914 Info Unity @@@@@@ AMapper Load Complete
에디터)
@@@@@@ AMapper Load -> SubwayMapData/CentralPark
@@@@@@ AMapper Load Complete
@@@@@@ OnPOILoaded -> 134

센트럴파크 영상
https://github.com/NaverCloudPlatform/ARCeyeARSDK/assets/7464793/0f2c0712-25cb-41e8-ae45-00185f9b02e9

센트럴파크 데이터
CentralPark.zip

영상과 api 데이터 전달 드립니다.

@yeongho-jeong
Copy link

해당 이슈를 확인해본 결과 VL 요청 후 성공 응답을 받은 뒤 재요청 시 오차가 크게 발생한 경우 위와 같은 현상이 나올 수 있는 것으로 확인되었습니다. 혹시 실제 기기에서는 위 문제로 인해 지도 로딩 자체가 안되고 있는 상황일까요?

@njelkom
Copy link
Author

njelkom commented Jan 11, 2024

네 맞습니다.
실제 기기로 로그를 찍어 본 결과
AMapper Load 까지는 진행이 되는데
로드 완료 후에 호출 되어야 하는 OnPOILoaded 가 호출되지 않고 있습니다.

@yeongho-jeong
Copy link

제공해주신 영상과 api를 이용하여 실제 기기 테스트를 진행해본 결과 다음과 같이 출력이 되는 것을 확인했습니다.
다음은 전달 주신 영상을 모니터에 출력한 뒤 갤럭시 S10 기기에서 ARSDK 샘플 코드를 실행시킨 모습입니다.

240112_central_park
원본 영상

테스트에 사용된 ARSDK의 경우 사용성과 관련된 시각 효과를 제외하고 ARSDK의 내부 로직에 대해서는 업데이트를 진행하고 있지 않은 상태라 기 배포 된 v1.2.5과 동일한 내부 로직을 사용하고 있는 상태입니다.

혹시 금일(24.01.12) 기준으로도 동일한 문제가 발생되고 있을까요?
그리고 영상에서 어떤 화면을 바라볼때 해당 문제가 발생하고 있나요?

위 사항에 대한 답변을 주시면 더 빠르게 대응할 수 있을 것 같습니다.

@njelkom
Copy link
Author

njelkom commented Jan 22, 2024

자세한건 다시 현장에 나가 테스트를 해야 전달 드릴 수 있을 것 같습니다.
조만간 현장에 나갈 예정이니 현장 테스트 영상본 포함해서 전달 드릴 수 있도록 하겠습니다.

@njelkom
Copy link
Author

njelkom commented Feb 5, 2024

현장 테스트한 로그 전달드립니다.

기존과 마찬가지로 유니티 에디터에서 동작시 정상 동작 하나
현장에서 테스트시 VLSDK 에서 인식은 잘되나 AMapper 프로젝트 파일 로드가 실패하는 것 같습니다.

CentralPark.txt

@yeongho-jeong
Copy link

첨부 주신 로그를 확인한 결과 다음과 같은 로그를 발견했습니다.

[Error] [2024-02-05 16:49:53] [Native] UnityAMapperReader OnErrorNative HTTP/1.1 404 Not Found

전체 로그를 확인해보니 amproj 파일을 찾을 수 없는 상태인 것으로 보이는데요, v1.2.5 기준으로 streamingAssetsPath와 persistentDataPath 둘 다 테스트를 진행해봤는데 정상적으로 로딩이 되는 것을 확인했습니다.

혹시 로딩을 하고자 하는 *.amproj 파일이 persistentDataPath의 올바른 경로에 배치가 된 상태인가요?
로그를 통해 확인해보니 다음 경로에 프로젝트 파일들이 배치 되어 있어야 할 것으로 보입니다.

/sdcard/Android/data/com.seerslab.incheonar/files/assets/SubwayMapData/CentralPark/CentralPark.amproj

@njelkom
Copy link
Author

njelkom commented Feb 22, 2024

다시한번 현장 테스트 후 로그 전달 드립니다.
로그 확인 부탁 드립니다.
VS_PASS 이후 부터 amapper 로드까지의 로그 입니다.
@@@@@ 가 붙은 로그는 확인용 로그 이고 로그레벨 VERBOSE 입니다.

2024/02/22 15:56:47.111 27536 27649 Info Unity ARNaviState : NAVI_READY
2024/02/22 15:56:47.111 27536 27649 Info Unity UIARNavi:SetState(ARNaviState)
2024/02/22 15:56:47.111 27536 27649 Info Unity UIARNavi:StartARNavi(TrackerState)
2024/02/22 15:56:47.111 27536 27649 Info Unity UnityEngine.Events.UnityEvent1:Invoke(T0) 2024/02/22 15:56:47.111 27536 27649 Info Unity ARCeye.PoseTracker:OnStateChanged(Int32) 2024/02/22 15:56:47.111 27536 27649 Info Unity NetworkController:SendSuccessResponseNative(IntPtr) 2024/02/22 15:56:47.111 27536 27649 Info Unity <Upload>d__26:MoveNext() 2024/02/22 15:56:47.111 27536 27649 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) 2024/02/22 15:56:47.111 27536 27649 Info Unity 2024/02/22 15:56:47.117 27536 27649 Info Unity [LogViewer] OnStateChanged : VL_PASS 2024/02/22 15:56:47.117 27536 27649 Info Unity ARCeye.LogViewer:OnStateChanged(TrackerState) 2024/02/22 15:56:47.117 27536 27649 Info Unity UnityEngine.Events.UnityEvent1:Invoke(T0)
2024/02/22 15:56:47.117 27536 27649 Info Unity ARCeye.PoseTracker:OnStateChanged(Int32)
2024/02/22 15:56:47.117 27536 27649 Info Unity NetworkController:SendSuccessResponseNative(IntPtr)
2024/02/22 15:56:47.117 27536 27649 Info Unity d__26:MoveNext()
2024/02/22 15:56:47.117 27536 27649 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2024/02/22 15:56:47.117 27536 27649 Info Unity
2024/02/22 15:56:47.119 27536 27649 Info Unity [Info] [2024-02-22 15:56:47] VL Pass
2024/02/22 15:56:47.119 27536 27649 Info Unity ARCeye.LogViewer:DebugLog(LogLevel, String)
2024/02/22 15:56:47.119 27536 27649 Info Unity NetworkController:SendSuccessResponseNative(IntPtr)
2024/02/22 15:56:47.119 27536 27649 Info Unity d__26:MoveNext()
2024/02/22 15:56:47.119 27536 27649 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2024/02/22 15:56:47.119 27536 27649 Info Unity
2024/02/22 15:56:47.121 27536 27649 Info Unity @@@@@@ -> Start AMapper Load
2024/02/22 15:56:47.121 27536 27649 Info Unity Seerslab.ARCeye.d__10:MoveNext()
2024/02/22 15:56:47.121 27536 27649 Info Unity Seerslab.ARCeye.ARManager:SetLayerInfo(String)
2024/02/22 15:56:47.121 27536 27649 Info Unity Seerslab.ARCeye.ARManager:OnLayerInfoChanged(String)
2024/02/22 15:56:47.121 27536 27649 Info Unity UnityEngine.Events.UnityEvent1:Invoke(T0) 2024/02/22 15:56:47.121 27536 27649 Info Unity NetworkController:SendSuccessResponseNative(IntPtr) 2024/02/22 15:56:47.121 27536 27649 Info Unity <Upload>d__26:MoveNext() 2024/02/22 15:56:47.121 27536 27649 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) 2024/02/22 15:56:47.121 27536 27649 Info Unity 2024/02/22 15:56:47.123 27536 27649 Info Unity @@@@@@ -> Start AMapper Load 02 2024/02/22 15:56:47.123 27536 27649 Info Unity Seerslab.ARCeye.<SetLayerInfo>d__10:MoveNext() 2024/02/22 15:56:47.123 27536 27649 Info Unity Seerslab.ARCeye.ARManager:SetLayerInfo(String) 2024/02/22 15:56:47.123 27536 27649 Info Unity Seerslab.ARCeye.ARManager:OnLayerInfoChanged(String) 2024/02/22 15:56:47.123 27536 27649 Info Unity UnityEngine.Events.UnityEvent1:Invoke(T0)
2024/02/22 15:56:47.123 27536 27649 Info Unity NetworkController:SendSuccessResponseNative(IntPtr)
2024/02/22 15:56:47.123 27536 27649 Info Unity d__26:MoveNext()
2024/02/22 15:56:47.123 27536 27649 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2024/02/22 15:56:47.123 27536 27649 Info Unity
2024/02/22 15:56:47.125 27536 27649 Info Unity @@@@@@ -> Start AMapper Load Start
2024/02/22 15:56:47.125 27536 27649 Info Unity Seerslab.ARCeye.d__10:MoveNext()
2024/02/22 15:56:47.125 27536 27649 Info Unity Seerslab.ARCeye.ARManager:SetLayerInfo(String)
2024/02/22 15:56:47.125 27536 27649 Info Unity Seerslab.ARCeye.ARManager:OnLayerInfoChanged(String)
2024/02/22 15:56:47.125 27536 27649 Info Unity UnityEngine.Events.UnityEvent1:Invoke(T0) 2024/02/22 15:56:47.125 27536 27649 Info Unity NetworkController:SendSuccessResponseNative(IntPtr) 2024/02/22 15:56:47.125 27536 27649 Info Unity <Upload>d__26:MoveNext() 2024/02/22 15:56:47.125 27536 27649 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) 2024/02/22 15:56:47.125 27536 27649 Info Unity 2024/02/22 15:56:47.127 27536 27649 Info Unity [Debug] [2024-02-22 15:56:47] Load amapper using UnityAMapperReader : jar:file:///data/app/~~NJ0WxmPaWEmZqGWrNdhrwg==/com.seerslab.incheonar-b1iSAnsYOEak8Ckq0b2FgQ==/base.apk!/assets/SubwayMapData/CentralPark/CentralPark.amproj 2024/02/22 15:56:47.127 27536 27649 Info Unity ARCeye.NativeLogger:Print(LogLevel, String) 2024/02/22 15:56:47.127 27536 27649 Info Unity 2024/02/22 15:56:47.130 27536 27649 Info Unity [LogViewer] OnLayerInfoChanged : CentralPark_GND_device07602311201508 2024/02/22 15:56:47.130 27536 27649 Info Unity ARCeye.LogViewer:OnLayerInfoChanged(String) 2024/02/22 15:56:47.130 27536 27649 Info Unity UnityEngine.Events.UnityEvent1:Invoke(T0)
2024/02/22 15:56:47.130 27536 27649 Info Unity NetworkController:SendSuccessResponseNative(IntPtr)
2024/02/22 15:56:47.130 27536 27649 Info Unity d__26:MoveNext()
2024/02/22 15:56:47.130 27536 27649 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2024/02/22 15:56:47.130 27536 27649 Info Unity
2024/02/22 15:56:47.132 27536 27649 Error Unity [Error] [2024-02-22 15:56:47] [Native] UnityAMapperReader OnErrorNative HTTP/1.1 404 Not Found
2024/02/22 15:56:47.132 27536 27649 Error Unity ARCeye.NativeLogger:Print(LogLevel, String)
2024/02/22 15:56:47.132 27536 27649 Error Unity ARCeye.NativeFileSystemHelper:OnErrorNative(String)
2024/02/22 15:56:47.132 27536 27649 Error Unity ARCeye.d__21:MoveNext()
2024/02/22 15:56:47.132 27536 27649 Error Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2024/02/22 15:56:47.132 27536 27649 Error Unity
2024/02/22 15:56:47.138 27536 27649 Info Unity @@@@@@ -> Start AMapper Load end
2024/02/22 15:56:47.138 27536 27649 Info Unity Seerslab.ARCeye.d__10:MoveNext()
2024/02/22 15:56:47.138 27536 27649 Info Unity Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(TResult) 2024/02/22 15:56:47.138 27536 27649 Info Unity ARCeye.<Load>d__74:MoveNext() 2024/02/22 15:56:47.138 27536 27649 Info Unity Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(TResult)
2024/02/22 15:56:47.138 27536 27649 Info Unity Cysharp.Threading.Tasks.WaitUntilPromise:MoveNext()
2024/02/22 15:56:47.138 27536 27649 Info Unity Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore()
2024/02/22 15:56:47.138 27536 27649 Info Unity
2024/02/22 15:56:47.139 27536 27649 Info Unity @@@@@@ -> Start AMapper Load Delay
2024/02/22 15:56:47.139 27536 27649 Info Unity Seerslab.ARCeye.d__10:MoveNext()
2024/02/22 15:56:47.139 27536 27649 Info Unity Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(TResult) 2024/02/22 15:56:47.139 27536 27649 Info Unity ARCeye.<Load>d__74:MoveNext() 2024/02/22 15:56:47.139 27536 27649 Info Unity Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(TResult)
2024/02/22 15:56:47.139 27536 27649 Info Unity Cysharp.Threading.Tasks.WaitUntilPromise:MoveNext()
2024/02/22 15:56:47.139 27536 27649 Info Unity Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore()
2024/02/22 15:56:47.139 27536 27649 Info Unity
2024/02/22 15:56:47.200 27536 29989 Error native E0000 00:00:1708585007.200385 29989 plane_estimator.cc:886] Error converting depth to landmarks: INTERNAL: Landmarks are empty.
2024/02/22 15:56:47.200 27536 29989 Error native === Source Location Trace: ===
2024/02/22 15:56:47.200 27536 29989 Error native third_party/redwood/perception/planes/plane_detection/planes_from_depth_utils.cc:214
2024/02/22 15:56:47.315 27536 29989 Error native E0000 00:00:1708585007.311469 29989 plane_estimator.cc:886] Error converting depth to landmarks: INTERNAL: Landmarks are empty.
2024/02/22 15:56:47.315 27536 29989 Error native === Source Location Trace: ===
2024/02/22 15:56:47.315 27536 29989 Error native third_party/redwood/perception/planes/plane_detection/planes_from_depth_utils.cc:214
2024/02/22 15:56:47.402 27536 29989 Error native E0000 00:00:1708585007.401938 29989 plane_estimator.cc:886] Error converting depth to landmarks: INTERNAL: Landmarks are empty.
2024/02/22 15:56:47.402 27536 29989 Error native === Source Location Trace: ===
2024/02/22 15:56:47.402 27536 29989 Error native third_party/redwood/perception/planes/plane_detection/planes_from_depth_utils.cc:214
2024/02/22 15:56:47.510 27536 29989 Error native E0000 00:00:1708585007.510201 29989 plane_estimator.cc:886] Error converting depth to landmarks: INTERNAL: Landmarks are empty.
2024/02/22 15:56:47.510 27536 29989 Error native === Source Location Trace: ===
2024/02/22 15:56:47.510 27536 29989 Error native third_party/redwood/perception/planes/plane_detection/planes_from_depth_utils.cc:214
2024/02/22 15:56:47.566 27536 27649 Info Unity [Debug] [2024-02-22 15:56:47] Aligned for the first time!
2024/02/22 15:56:47.566 27536 27649 Info Unity ARCeye.LogViewer:DebugLog(LogLevel, String)
2024/02/22 15:56:47.566 27536 27649 Info Unity ARCeye.PoseTracker:UpdateUnityFrameNative(UnityFrame)
2024/02/22 15:56:47.566 27536 27649 Info Unity ARCeye.PoseTracker:UpdateFrame(Matrix4x4, Matrix4x4)
2024/02/22 15:56:47.566 27536 27649 Info Unity ARCeye.DevicePoseTracker:OnCameraFrameReceived(ARCameraFrameEventArgs)
2024/02/22 15:56:47.566 27536 27649 Info Unity UnityEngine.XR.ARFoundation.ARCameraManager:InvokeFrameReceivedEvent(XRCameraFrame)
2024/02/22 15:56:47.566 27536 27649 Info Unity UnityEngine.XR.ARFoundation.ARCameraManager:Update()
2024/02/22 15:56:47.566 27536 27649 Info Unity
2024/02/22 15:56:47.601 27536 29989 Error native E0000 00:00:1708585007.601623 29989 plane_estimator.cc:886] Error converting depth to landmarks: INTERNAL: Landmarks are empty.
2024/02/22 15:56:47.601 27536 29989 Error native === Source Location Trace: ===
2024/02/22 15:56:47.601 27536 29989 Error native third_party/redwood/perception/planes/plane_detection/planes_from_depth_utils.cc:214
2024/02/22 15:56:47.617 27536 27649 Info Unity @@@@@@ -> Start AMapper Load Delay End
2024/02/22 15:56:47.617 27536 27649 Info Unity Seerslab.ARCeye.d__10:MoveNext()
2024/02/22 15:56:47.617 27536 27649 Info Unity Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(TResult) 2024/02/22 15:56:47.617 27536 27649 Info Unity Cysharp.Threading.Tasks.DelayPromise:MoveNext() 2024/02/22 15:56:47.617 27536 27649 Info Unity Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore() 2024/02/22 15:56:47.617 27536 27649 Info Unity 2024/02/22 15:56:47.618 27536 27649 Info Unity @@@@@@ -> Start AMapper Load onLoadedAmapper 2024/02/22 15:56:47.618 27536 27649 Info Unity Seerslab.ARCeye.<SetLayerInfo>d__10:MoveNext() 2024/02/22 15:56:47.618 27536 27649 Info Unity Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(TResult)
2024/02/22 15:56:47.618 27536 27649 Info Unity Cysharp.Threading.Tasks.DelayPromise:MoveNext()
2024/02/22 15:56:47.618 27536 27649 Info Unity Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore()
2024/02/22 15:56:47.618 27536 27649 Info Unity
2024/02/22 15:56:47.620 27536 27649 Warn Unity [Warning] [2024-02-22 15:56:47] amproj ????????? ???????????? ???????????????. Load ???????????? ?????????????????? ??????????????????
2024/02/22 15:56:47.620 27536 27649 Warn Unity ARCeye.NativeLogger:Print(LogLevel, String)
2024/02/22 15:56:47.620 27536 27649 Warn Unity ARCeye.ARPlayGround:SetStage(String)
2024/02/22 15:56:47.620 27536 27649 Warn Unity Seerslab.ARCeye.d__10:MoveNext()
2024/02/22 15:56:47.620 27536 27649 Warn Unity Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(TResult) 2024/02/22 15:56:47.620 27536 27649 Warn Unity Cysharp.Threading.Tasks.DelayPromise:MoveNext() 2024/02/22 15:56:47.620 27536 27649 Warn Unity Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore() 2024/02/22 15:56:47.620 27536 27649 Warn Unity 2024/02/22 15:56:47.622 27536 27649 Info Unity [VERBOSE] [2024-02-22 15:56:47] SetStage with stageName : GND 2024/02/22 15:56:47.622 27536 27649 Info Unity ARCeye.NativeLogger:Print(LogLevel, String) 2024/02/22 15:56:47.622 27536 27649 Info Unity ARCeye.ARPlayGround:SetStage(String) 2024/02/22 15:56:47.622 27536 27649 Info Unity Seerslab.ARCeye.<SetLayerInfo>d__10:MoveNext() 2024/02/22 15:56:47.622 27536 27649 Info Unity Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(TResult)
2024/02/22 15:56:47.622 27536 27649 Info Unity Cysharp.Threading.Tasks.DelayPromise:MoveNext()
2024/02/22 15:56:47.622 27536 27649 Info Unity Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore()
2024/02/22 15:56:47.622 27536 27649 Info Unity
2024/02/22 15:56:47.637 27536 27649 Info Unity [VERBOSE] [2024-02-22 15:56:47] Device::updateStage type (1)
2024/02/22 15:56:47.637 27536 27649 Info Unity ARCeye.NativeLogger:Print(LogLevel, String)
2024/02/22 15:56:47.637 27536 27649 Info Unity ARCeye.ARPlayGround:SetStageNative(String)
2024/02/22 15:56:47.637 27536 27649 Info Unity
2024/02/22 15:56:47.649 27536 27649 Info Unity [VERBOSE] [2024-02-22 15:56:47] Device::updateStage _stageTracker->updateStageWithVL
2024/02/22 15:56:47.649 27536 27649 Info Unity ARCeye.NativeLogger:Print(LogLevel, String)
2024/02/22 15:56:47.649 27536 27649 Info Unity ARCeye.ARPlayGround:SetStageNative(String)
2024/02/22 15:56:47.649 27536 27649 Info Unity
2024/02/22 15:56:47.663 27536 27649 Info Unity [VERBOSE] [2024-02-22 15:56:47] StageTracker::updateStageWithVL - start updaing stage (GND)
2024/02/22 15:56:47.663 27536 27649 Info Unity ARCeye.NativeLogger:Print(LogLevel, String)
2024/02/22 15:56:47.663 27536 27649 Info Unity ARCeye.ARPlayGround:SetStageNative(String)
2024/02/22 15:56:47.663 27536 27649 Info Unity
2024/02/22 15:56:47.663 27536 27649 Info Unity [Debug] [2024-02-22 15:56:47] Location is null
2024/02/22 15:56:47.663 27536 27649 Info Unity ARCeye.NativeLogger:Print(LogLevel, String)
2024/02/22 15:56:47.663 27536 27649 Info Unity
2024/02/22 15:56:47.664 27536 27649 Info Unity @@@@@@ -> SetStage
2024/02/22 15:56:47.664 27536 27649 Info Unity Seerslab.ARCeye.d__10:MoveNext()
2024/02/22 15:56:47.664 27536 27649 Info Unity Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1:TrySetResult(TResult)
2024/02/22 15:56:47.664 27536 27649 Info Unity Cysharp.Threading.Tasks.DelayPromise:MoveNext()
2024/02/22 15:56:47.664 27536 27649 Info Unity Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore()
2024/02/22 15:56:47.664 27536 27649 Info Unity

@yeongho-jeong
Copy link

첨부 주신 로그를 확인해보니 내부에서 UnityAMapperReader를 사용하고 있는 것으로 보입니다. 이는 안드로이드 환경에서 StreamingAssets에 배치된 컨텐츠 파일들을 읽을때 사용이 되는 기능입니다. 사용하시는 컨텐츠를 배치하는 경로에 따라 ARPlayGroundStreaming Asset 항목을 체크해제 하시면 됩니다.

스크린샷 2024-02-26 오후 4 13 24

자세한 사항은 다음 문서를 참고 부탁드립니다.
https://ar.naverlabs.com/ARPG/docs/ARSDK_v1.2.5.html#:~:text=PersistentDataPath%20%ED%99%9C%EC%9A%A9

확인 결과 이상이 없을 경우, 어떤 데이터 경로를 사용하시는지(Streaming, Persistent), 컨텐츠들이 어떤 경로에 어떻게 배치 되어있는지 알려주시면 문제를 해결하는데 도움이 될 것 같습니다.

@njelkom
Copy link
Author

njelkom commented Mar 5, 2024

위 설명해주신 것처럼 셋팅은 모두 되어 있는 상태이고
현재는 StreamingAssets 폴더 사용하고 있습니다.

경로는 SteamingAssets/SubwayMapData/역이름
으로 되어 있고

해당 역 제외 다른 역에서는 모두 정상 동작 하고 있습니다.

@yeongho-jeong
Copy link

해당 역을 제외한 다른 역들도 StreamingAssets 폴더를 사용하고 있는데 정상 동작을 한다면 해당 역에 대한 경로 관련 이슈일 가능성이 크다고 봅니다. 내부 로직의 문제라면 같은 구조를 가지는 다른 역에서도 모두 동작을 하지 않아야 하기 때문입니다.

정상동작하는 역과 문제가 발생한 역에 대한 *.amproj 파일 전체 경로를 아래와 같은 스크린샷으로 촬영해 첨부 주시면 해당 디렉토리 구조를 재현해서 다시 확인해보겠습니다. StreamingAssets외의 부분은 가려져도 문제 없습니다. 공개가 불편하실 경우 사전에 소통을 했던 메일로 전달 부탁드립니다.
스크린샷 2024-03-07 오전 11 08 20

@njelkom
Copy link
Author

njelkom commented Mar 21, 2024

답변이 늦어서 죄송합니다.
파일경로는 아래 이미지와 같습니다.

image

@yeongho-jeong
Copy link

yeongho-jeong commented Mar 25, 2024

전달 주셨던 amproj 파일과 위 설정을 바탕으로 다양한 가능성을 염두에 두고 문제 재현을 시도해봤지만 문제를 재현하지 못했습니다.
ARCeyeARSDK의 예제 프로젝트에서 위와 동일한 문제를 재현한 후 전달해 주시면 빠르게 확인해보도록 하겠습니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants