Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
Votes
0
Found in
2018.4
2018.4.3f1
2019.3
2020.1
2020.2
Issue ID
1242285
Regression
No
[IL2CPP]Stack traces using Application.logMessageReceived callback appear partially or not at all in Builds
Reproduction steps:
1. Open the attached project "809299 Repro.zip"
2. In the Project window under "Scenes" open "SampleScene.unity"
3. Build the project
4. Upon launch, press the "Log", "Assert", "Error", "Except" and "Null" buttons to see stack trace output
Expected result: stack traces on the first four buttons are outputted
Actual result: stack traces on the first four buttons are partially outputted or are completely absent on Android (See attached StackTraces.mp4)
Reproduces on: 2018.4.22f1, 2019.3.13f1, 2020.1.0b8, 2020.2.0a11
Reproduces with:
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720
VLNQA00140, Samsung Galaxy S4 (GT-I9505), Android 5.0.1, CPU: Snapdragon S4 Plus MSM8960, GPU: Adreno (TM) 320
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
Notes:
-Reproduces only on IL2CPP
-Does not reproduce on iOS
-Every button Stack trace is outputted correctly in the Editor
-Reproduces with Release, Master and Debug C++ Compiler Configuration
-Stack traces are fully outputted in the Player.log
-
VProjectCore
Aug 26, 2020 02:06
I'm sure the bug still exist in 2018.4.26f1 , and I found the solution , disable the BuildOptions.AllowDebugging then build, the StackTrace could be appear successfully.
-
VProjectCore
Aug 22, 2020 07:07
Unfortunately,I reproduced the problem in2018.4.26f1
If I checkout my project at another place at disk, the stacktrace would be output large probability.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a17, backported to 2018.4, 2019.4, 2020.1
Resolution Note (fix version 2020.1):
Fixed in 2020.1.1f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.5f1
Resolution Note (fix version 2018.4):
Fixed in 2018.4.26f1