Skip to content

Commit e686588

Browse files
committed
Version 3.2.4: Fixed invalid ndk database initialization
1 parent 8175b4b commit e686588

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Backtrace Unity Release Notes
22

3+
## Version 3.2.4
4+
- Fixed Backtrace-Unity NDK integration database path.
5+
36
## Version 3.2.3
47
- Backtrace offline database will now store 8 reports by default. Previously this was not set by default.
58
- HTTP client communication improvements

Runtime/BacktraceClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class BacktraceClient : MonoBehaviour, IBacktraceClient
2020
{
2121
public BacktraceConfiguration Configuration;
2222

23-
public const string VERSION = "3.2.3";
23+
public const string VERSION = "3.2.4";
2424
public bool Enabled { get; private set; }
2525

2626
/// <summary>

Runtime/Native/Android/NativeClient.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,15 @@ private void HandleNativeCrashes()
7171
return;
7272
}
7373
var databasePath = _configuration.CrashpadDatabasePath;
74-
if (string.IsNullOrEmpty(databasePath) || !Directory.Exists(databasePath))
74+
if (string.IsNullOrEmpty(databasePath) || !Directory.Exists(_configuration.GetFullDatabasePath()))
7575
{
7676
Debug.LogWarning("Backtrace native integration status: database path doesn't exist");
7777
return;
7878
}
79+
if(!Directory.Exists(databasePath))
80+
{
81+
Directory.CreateDirectory(databasePath);
82+
}
7983

8084
// crashpad is available only for API level 21+
8185
// make sure we don't want ot start crashpad handler

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "io.backtrace.unity",
33
"displayName": "Backtrace",
4-
"version": "3.2.3",
4+
"version": "3.2.4",
55
"unity": "2017.1",
66
"description": "Backtrace's integration with Unity games allows customers to capture and report handled and unhandled Unity exceptions to their Backtrace instance, instantly offering the ability to prioritize and debug software errors.",
77
"keywords": [
@@ -21,4 +21,4 @@
2121
},
2222
"category": "Editor plugin + Script plugin",
2323
"type": "library"
24-
}
24+
}

0 commit comments

Comments
 (0)