Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

It crashes when launching the TreasureHunt sample app. #329

Open
naoyax628X opened this issue Oct 12, 2018 · 4 comments
Open

It crashes when launching the TreasureHunt sample app. #329

naoyax628X opened this issue Oct 12, 2018 · 4 comments

Comments

@naoyax628X
Copy link

It crashes at line 517.
_gvr_audio_engine = [[GVRAudioEngine alloc] initWithRenderingMode:kRenderingModeBinauralHighQuality];

Error Message:
Thread 1: EXC_BAD_ACCESS (code=1, address=0xffffffffffffffe8)

Log:
2018-10-12 15:05:49.411154+0900 TreasureHunt[330:115749] [DYMTLInitPlatform] platform initialization successful
W1012 15:05:49.476230 1 commandlineflags.cc:1311] Ignoring RegisterValidateFunction() for flag pointer 0x1015ec930: no flag found at that address
2018-10-12 15:05:56.737200+0900 TreasureHunt[330:115593] INFO [vr/gvr/capi/src/gvr.cc:116] Initialized GVR version 1.170.0
2018-10-12 15:05:56.930170+0900 TreasureHunt[330:115593] INFO [vr/gvr/hmd/cardboard/cardboard_api_impl.cc:515] Creating swap chain with id: [1]
2018-10-12 15:05:56.930421+0900 TreasureHunt[330:115593] INFO [vr/gvr/hmd/cardboard/cardboard_api_impl.cc:519] BufferSpec 0: Size=V[2720, 1732], ColorFormat=Rgba8888, DepthFormat=RenderbufferDepth16, Samples=1, Views=1
(lldb)

Xcode version 9.4.1
iPhone 7
iOS 11.4.1

Please fix this bug.

@Performador
Copy link

Can you make sure the version number of GVDSDK matches to the GvrAudioSDK in Podfile.lock?

This happens when there is a version mismatch.

@naoyax628X
Copy link
Author

It worked fine if you match the version of GVSDK with the version of GvrAudioSDK.
Thank you very much.

@Zeaa
Copy link

Zeaa commented Nov 16, 2018

I also encountered this problem, and specified the corresponding version, it's ok.

target 'TreasureHunt' do
  pod 'GVRKit', '~>1.140.0'
  pod 'GVRAudioSDK', '~>1.140.0'
end

and now google vr version info:

ft$ pod trunk info GVRAudioSDK

GVRAudioSDK
    - Versions:
      - 1.100.0 (2017-10-17 19:04:21 UTC)
      - 1.120.0 (2017-12-15 21:36:22 UTC)
      - 1.140.0 (2018-04-23 17:28:05 UTC)
    - Owners:
      - Google <[email protected]>
      - Google Daydream <[email protected]>
ft$ pod trunk info GVRKit

GVRKit
    - Versions:
      - 1.100.0 (2017-10-17 19:02:14 UTC)
      - 1.120.0 (2017-12-15 21:38:09 UTC)
      - 1.140.0 (2018-04-23 17:26:34 UTC)
      - 1.170.0 (2018-09-27 01:01:06 UTC)
      - 1.80.0 (2017-08-16 19:28:57 UTC)
    - Owners:
      - Google <[email protected]>
      - Google Daydream <[email protected]>

@icatSolutions
Copy link

that did not work for us. we had to comment out the whole initialization to make it work.

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

No branches or pull requests

3 participants