Skip to content

Removal of EmbraceUnityInternalShared calls#87

Open
benjaben wants to merge 1 commit intomainfrom
ben.bennett/android-unity-exception-logging
Open

Removal of EmbraceUnityInternalShared calls#87
benjaben wants to merge 1 commit intomainfrom
ben.bennett/android-unity-exception-logging

Conversation

@benjaben
Copy link
Contributor

@benjaben benjaben commented Jun 3, 2025

Removed calls to Log Unity Exception on the shared unity internal instance and instead am calling the the embrace shared instance's log message directly.

Goal

Long term goal is to clean up the native SDKs as much as possible in regards to have specific Engine/framework level calls. This specific PR removes the need for handling unity exceptions explicitly and instead sets up the Unity SDK to call the Native SDK functions directly

Testing

Automated + Device Testing

Release Notes

Updated the Embrace Android implementation to call the Android Native SDK directly via LogMessage instead of a special Unity interface that was setup

WHAT:

WHY:

WHO:Ben Bennett

Removed calls to Log Unity Exception on the shared unity internal instance and instead am calling the the embrace shared instance's log message directly.
@benjaben benjaben self-assigned this Jun 3, 2025
@benjaben benjaben requested a review from a team as a code owner June 3, 2025 22:22
@benjaben
Copy link
Contributor Author

benjaben commented Jun 4, 2025

Unfortunately this is currently blocked by being unable to access the logging methods that can accept an UNHANDLED or HANDLED enum. @bidetofevil and I are talking about creating a public function specifically for handling these types of exceptions from the hosted SDKs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants