Open
Description
Describe the bug
Using Bugsnag Unity v8.5.0
and the new auto symbol uploads
feature fails during NDK
version check. It appears it attempts to identify the version via substringing the path, which appears to not work when running an embedded version of the NDK
.
[FATAL] unable to determine ndk version from /Applications/Unity/Hub/Editor/6000.0.35f1/PlaybackEngines/AndroidPlayer/NDK
Steps to reproduce
- Install
Unity 6
viaUnity Hub
, includingAndroid
withNDK and SDK Tools
bundled. - Install
Bugsnag Unity v8.5.0
and compile project - See error during
upload unity-android
command
Environment
bugsnag-cli
version:v2.9.1
bugsnag-unity
version:v8.5.0
- Platform:
Unity Android
Example code snippet
Failed to upload Android symbol files to BugSnag. Error: Error uploading symbols:
Output: [DEBUG] Extracting launcher-release.aab into a temporary directory
[DEBUG] Reading data from AndroidManifest.xml
[DEBUG] Using 442db60fad1b64cacfe134a77921cad41c71b219 as build ID from dex signatures
[DEBUG] Using 1 as version code from AndroidManifest.xml
[DEBUG] Using 0.1.0 as version name from AndroidManifest.xml
[DEBUG] Found NDK (.so) files at: /var/folders/bs/x688xcq13lz1j_zlxpbgrty00000gq/T/bugsnag-cli-aab-unpacking-3341614674/BUNDLE-METADATA/com.android.tools.build.debugsymbols
[DEBUG] Using [PATH/TO/PROJECT/ROOT] as the project root
[FATAL] unable to determine ndk version from /Applications/Unity/Hub/Editor/6000.0.35f1/PlaybackEngines/AndroidPlayer/NDK