Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnityLogHandlerIntegration ignored message formatting #1135

Closed
ilakhin opened this issue Jan 4, 2023 · 1 comment · Fixed by #1150
Closed

UnityLogHandlerIntegration ignored message formatting #1135

ilakhin opened this issue Jan 4, 2023 · 1 comment · Fixed by #1150

Comments

@ilakhin
Copy link

ilakhin commented Jan 4, 2023

Environment

How do you use Sentry?
self-hosted (22.11.0)

Which version of the SDK?
0.27.0

How did you install the package?
Git-URL

Which version of Unity?
2021.3.12f1

Is this happening in Unity (editor) or on a player like Android, iOS, Windows?
All platforms

Steps to Reproduce

  1. Run game
  2. Invoke Debug.unityLogger.LogError("Test", "Hello World")
  3. Open sentry dashboard

Expected Result

Message "Test: Hello World"

Actual Result

Message "Test"

Any logs or screenshots

000

002

003

005

007

@bitsandfoxes
Copy link
Contributor

bitsandfoxes commented Jan 4, 2023

Thanks for bringing this up! I'll take a look.
I guess that answers that question! // TODO: Is format '{0}' and args.length == 1 guaranteed?

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

Successfully merging a pull request may close this issue.

2 participants