Skip to content

Commit f1b73b4

Browse files
[WIN-1972] Thread-safe Unity bridge, mediation APIs, and Editor tooling (#70)
Add Super Token API, raw SDK instance accessor, thread-safe bridge with shared mutex, Editor teardown hooks, main-thread callback marshaling, header-bidding (mediated) load/play support, privacy controls (COPPA/CCPA/GDPR/ASHWID), diagnostics forwarding, and WebView2 availability check. Remove legacy sample app and old test infrastructure.
1 parent ca477cc commit f1b73b4

File tree

63 files changed

+701
-28204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+701
-28204
lines changed

CHANGELOG.md

Lines changed: 0 additions & 229 deletions
This file was deleted.

LiftoffUnityWindowsPlugin/SDK/include/EventArguments/DiagnosticLogEvent.h

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,22 @@ class DiagnosticLogEvent {
2828
oss << LevelToString(Level) << ' ' << SenderType << ' ' << Message << ' ';
2929

3030
if (Exception) {
31-
try {
32-
std::rethrow_exception(Exception);
33-
} catch (const std::exception& ex) {
34-
oss << ex.what() << "\r\n";
35-
for (auto currentException = std::current_exception(); currentException != nullptr; currentException = std::current_exception()) {
31+
std::exception_ptr current = Exception;
32+
while (current) {
33+
try {
34+
std::rethrow_exception(current);
35+
} catch (const std::exception& ex) {
36+
oss << ex.what() << "\r\n";
37+
// Walk nested_exception chain if present
3638
try {
37-
std::rethrow_exception(currentException);
38-
} catch (const std::exception& innerEx) {
39-
oss << innerEx.what() << "\r\n";
39+
std::rethrow_if_nested(ex);
40+
current = nullptr;
41+
} catch (...) {
42+
current = std::current_exception();
4043
}
44+
} catch (...) {
45+
oss << "(unknown exception)\r\n";
46+
current = nullptr;
4147
}
4248
}
4349
}

LiftoffUnityWindowsPlugin/plugin/LiftoffUnityBridge.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio Version 17
33
VisualStudioVersion = 17.0.31903.59
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{4C5C8F02-3A5F-4F7E-ACF9-84F3BAE63A0A}") = "LiftoffUnityBridge", "LiftoffUnityBridge\LiftoffUnityBridge.vcxproj", "{A0E6B8E3-BA90-46F2-9A9C-7F2EA5F2D3AA}"
5+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LiftoffUnityBridge", "LiftoffUnityBridge\LiftoffUnityBridge.vcxproj", "{A0E6B8E3-BA90-46F2-9A9C-7F2EA5F2D3AA}"
66
EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution

0 commit comments

Comments
 (0)