View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002912 | NoesisGUI | Unity | public | 2023-12-01 16:03 | 2024-02-06 18:02 |
| Reporter | EvanRuiz | Assigned To | jsantos | ||
| Priority | normal | Severity | crash | ||
| Status | resolved | Resolution | no change required | ||
| Product Version | 3.2.2 | ||||
| Summary | 0002912: Crash on iOS after clicking on simple ComboBox with injection point set to "After Rendering Post Processing" | ||||
| Description | I always get a crash on iOS when clicking on a ComboBox with the Noesis injection point configured to "After Rendering Post Processing". If I select "Before Rendering Post Processing" it does not crash on iOS. This is using the URP renderer. I isolated the crash to just a simple ComboBox example in a new Unity URP project template. This does not crash in the Editor, just on iOS. Unity Version: 2022.3.14f1 Log Errors in Xcode Crash Details: Call Stack: | ||||
| Steps To Reproduce | Create new Unity 3D (URP) project template in Unity 2022.3.14f1. Setting injection point to "Before Rendering Post Processing" avoids the crash. See attached project zip that I used, if that is helpful. (Noesis unity package needs to be copied back in to the Packages folder). Here is just the simple ComboBox XAML example, if that is all you need: SimpleComboBoxView.xaml<UserControl x:Class="NoesisCrashTest.Assets.GUI.SimpleComboBoxView" SimpleComboBoxView.cs#if UNITY_5_3_OR_NEWER namespace NoesisCrashTest.Assets.GUI #if NOESIS | ||||
| Attached Files | |||||
| Platform | iOS | ||||
|
Thanks for the detailed report! |
|
|
I was able to reproduce this, even on macOS. Unfortunately, the "Injection Point" is not very reliable and depending on configuration settings this can cause that when Unity has to render the UI, the main buffers (we need stencil) are not available. Theoretically, this could be considered a Unity bug, URP is still quite unstable and probably it will be fixed. I found a recommended workaround though. Just create a stack of two cameras, the first one (base) with everything you have right now (including post-processing) but without Noesis, and in the second camera disable post-processing and leave only Noesis (disable also 3D-rendering by setting culling mask to None). This configuration works ok in all iPad we have tested here. https://www.noesisengine.com/docs/Gui.Core.Unity3DTutorial.html#universal-pipeline |
|
|
Thanks for the workaround! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-12-01 16:03 | EvanRuiz | New Issue | |
| 2023-12-01 16:03 | EvanRuiz | Tag Attached: Combo box | |
| 2023-12-01 16:03 | EvanRuiz | Tag Attached: crash | |
| 2023-12-01 16:03 | EvanRuiz | Tag Attached: iOS | |
| 2023-12-01 16:03 | EvanRuiz | Tag Attached: Unity URP | |
| 2023-12-01 16:03 | EvanRuiz | File Added: NoesisCrashTest.zip | |
| 2023-12-01 16:51 | jsantos | Note Added: 0008993 | |
| 2023-12-01 16:51 | jsantos | Target Version | => 3.2.3 |
| 2023-12-01 16:51 | jsantos | Assigned To | => jsantos |
| 2023-12-01 16:51 | jsantos | Status | new => assigned |
| 2024-01-22 11:47 | sfernandez | Target Version | 3.2.3 => 3.2.4 |
| 2024-01-22 11:56 | jsantos | Target Version | 3.2.4 => 3.2.3 |
| 2024-02-02 20:43 | jsantos | Note Added: 0009160 | |
| 2024-02-02 20:43 | jsantos | Status | assigned => feedback |
| 2024-02-02 20:43 | jsantos | Target Version | 3.2.3 => |
| 2024-02-02 20:44 | jsantos | Note Edited: 0009160 | |
| 2024-02-02 20:44 | jsantos | Note Edited: 0009160 | |
| 2024-02-02 20:46 | jsantos | Note Edited: 0009160 | |
| 2024-02-06 17:58 | EvanRuiz | Note Added: 0009167 | |
| 2024-02-06 17:58 | EvanRuiz | Status | feedback => assigned |
| 2024-02-06 18:02 | jsantos | Status | assigned => resolved |
| 2024-02-06 18:02 | jsantos | Resolution | open => no change required |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |