View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001701 | NoesisGUI | Unity | public | 2020-05-27 06:22 | 2020-05-28 11:23 |
| Reporter | samc | Assigned To | sfernandez | ||
| Priority | normal | Severity | block | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.0.0 | ||||
| Target Version | 3.0.1 | Fixed in Version | 3.0.1 | ||
| Summary | 0001701: Unity crash 50% of the time entering play mode after 3.0.0 upgrade | ||||
| Description | First entrance into play mode is almost always ok; but the 2nd time I tried play mode it seems to crash most of the time. Call stack unity gives me looks like this: 0x00007FFD39229491 (Noesis) TemplateBindingExtension_Property_get | ||||
| Steps To Reproduce | 1) Enter play mode | ||||
| Attached Files | |||||
| Platform | Windows | ||||
|
Hi Sam, do you have a way to reproduce this with a small sample or one of our samples? |
|
|
In case there is no easy way to reproduce this outside your project I prepared a debug version of our library with some extra logs to help us narrow the source of the problem. Thanks for your collaboration. |
|
|
I got a crash immediately upon starting unity with the DLL you gave me. Re-ran and no crash. Not sure why? However, I then tried play mode and got the same crash as before. I've attached both crash reports here. Will try to see what's going on and if I can make a smaller repro case. |
|
|
Forgot to mention it, but I did turn the logging level to "normal" as advised. |
|
|
I generated a new library with more logs on the code that seems to be the cause of the problem. Sorry for the inconvenience. |
|
|
Ok, attached the crash. Relevant logs: [noesis] 'Assets/Scripts/Runtime/Client/UI/Themes/TorchTheme.Colors.xaml' loaded |
|
|
We have a few modifications to the Noesis C# code; I don't think these are the cause but I'm not 100% sure (sorry I wasn't more clear about this earlier). We have added an option so we can explicitly tell our Noesis View when to update rather than in LateUpdate() (our game is written in DOTS so we needed a custom place to trigger the update). The other change is that we added a couple methods on NoesisView so we could render from a custom SRP render pass. Here is the relevant code changes we made: Noesis View:
Our custom render pass: using UnityEngine.Rendering; I am trying to make a minimal example that takes advantage of these changes to see if that reproduces the bug because just using 2019.3.14f1 with the default samples seems to be solid :( |
|
|
We removed all the custom render code we had added (not necessary anymore anyhow), but we still hit the crash. We're happy to debug further here but we'll need to build a debug version of Noesis. I think we might have source code access. |
|
|
Thanks for the help debugging this. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-05-27 06:22 | samc | New Issue | |
| 2020-05-27 06:22 | samc | Tag Attached: Unity | |
| 2020-05-27 06:22 | samc | File Added: Crash_2020-05-27_041253606.zip | |
| 2020-05-27 10:21 | sfernandez | Assigned To | => sfernandez |
| 2020-05-27 10:21 | sfernandez | Status | new => assigned |
| 2020-05-27 14:03 | sfernandez | Status | assigned => feedback |
| 2020-05-27 14:03 | sfernandez | Note Added: 0006395 | |
| 2020-05-27 16:48 | sfernandez | Note Added: 0006396 | |
| 2020-05-27 23:43 | samc | File Added: Crash_2020-05-27_214010072.zip | |
| 2020-05-27 23:43 | samc | File Added: Crash_2020-05-27_213622401.zip | |
| 2020-05-27 23:43 | samc | Note Added: 0006400 | |
| 2020-05-27 23:43 | samc | Status | feedback => assigned |
| 2020-05-27 23:44 | samc | Note Added: 0006401 | |
| 2020-05-28 01:07 | sfernandez | Status | assigned => feedback |
| 2020-05-28 01:07 | sfernandez | Note Added: 0006402 | |
| 2020-05-28 02:08 | samc | File Added: Crash_2020-05-28_000428086.zip | |
| 2020-05-28 02:08 | samc | Note Added: 0006403 | |
| 2020-05-28 02:08 | samc | Status | feedback => assigned |
| 2020-05-28 02:15 | samc | Note Added: 0006404 | |
| 2020-05-28 07:00 | samc | Note Added: 0006406 | |
| 2020-05-28 09:47 | sfernandez | Note Added: 0006407 | |
| 2020-05-28 11:22 | jsantos | Target Version | => 3.0.1 |
| 2020-05-28 11:22 | jsantos | Description Updated | |
| 2020-05-28 11:22 | jsantos | Steps to Reproduce Updated | |
| 2020-05-28 11:23 | sfernandez | Status | assigned => resolved |
| 2020-05-28 11:23 | sfernandez | Resolution | open => fixed |
| 2020-05-28 11:23 | sfernandez | Fixed in Version | => 3.0.1 |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |