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

Errors in Release mode #1755

Open
astamarr opened this issue Aug 7, 2024 · 2 comments
Open

Errors in Release mode #1755

astamarr opened this issue Aug 7, 2024 · 2 comments
Assignees
Labels
Bug Something isn't working Unity 6

Comments

@astamarr
Copy link

astamarr commented Aug 7, 2024

Sentry SaaS
2.1.3
Unity 6000.0.1f1

This is only happening on Release IL2CPP builds of our game (everything works fine when "development builds" unity option is enabled)

Steps to Reproduce

  1. Build the game
  2. launch it
  3. observe the following error when sentry catch something and tries to send a message :
0x00007ff90188fbdd (GameAssembly) <lambda_8a9d8b4e2b19bf03e2daa38741ca2534>::operator() (at D:/junctions/iYHW2equ/0/TL/Development/Unity Projects/projectnamet/Library/Bee/artifacts/WinPlayerBuildProgram/il2cppOutput/cpp/Sentry.Unity.cpp:27520)
  at UnityLogHandlerIntegration_LogFormat in <unknown>:<unknown>
  at Logger_Log in <unknown>:<unknown>
  at Debug_LogError in <unknown>:<unknown>
  at il2cpp::vm::Runtime::InvokeWithThrow in <unknown>:<unknown>
  at il2cpp::vm::Runtime::Invoke in <unknown>:<unknown>
  at SerializableManagedRef::CallMethod in <unknown>:<unknown>
  at MonoBehaviour::CallAwake in <unknown>:<unknown>
  at MonoBehaviour::AddToManager in <unknown>:<unknown>
  at MonoBehaviour::AwakeFromLoad in <unknown>:<unknown>
  at AwakeFromLoadQueue::PersistentManagerAwakeFromLoad_NoChecks in <unknown>:<unknown>
  at LoadSceneOperation::CompleteAwakeSequence in <unknown>:<unknown>
  at LoadSceneOperation::IntegrateMainThread in <unknown>:<unknown>
  at PreloadManager::UpdatePreloadingSingleStep in <unknown>:<unknown>
  at PreloadManager::UpdatePreloading in <unknown>:<unknown>
  at ExecutePlayerLoop in <unknown>:<unknown>
  at ExecutePlayerLoop in <unknown>:<unknown>
  at PerformMainLoop in <unknown>:<unknown>
  at MainMessageLoop in <unknown>:<unknown>
  at UnityMainImpl in <unknown>:<unknown>
  at UnityMain in <unknown>:<unknown>
@tustanivsky
Copy link
Collaborator

@astamarr Thank you for bringing this up - we'll try to reproduce the above error and get back to you with an update.

@getsantry getsantry bot removed the status in GitHub Issues with 👀 3 Aug 7, 2024
@bitsandfoxes bitsandfoxes added the Bug Something isn't working label Aug 12, 2024
@bitsandfoxes
Copy link
Contributor

Looks like a simple Debug.Error call somewhere in Awake should trigger this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Unity 6
Projects
Status: Todo
Status: No status
Development

No branches or pull requests

3 participants