View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003289 | NoesisGUI | Unity | public | 2024-05-02 10:20 | 2024-06-07 19:23 |
| Reporter | kristoffer | Assigned To | jsantos | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | no change required | ||
| Product Version | 3.2.3 | ||||
| Target Version | 3.2.4 | ||||
| Summary | 0003289: Unity non-zero exit code after using NoesisRenderer with ExecuteCommandBuffer | ||||
| Description | Windows 11, Unity 2022.3.25 and Noesis 3.2.3 This issue is based on the discussion in https://www.noesisengine.com/forums/viewtopic.php?p=16951 After using code almost identical to NoesisXamlEditor.RenderPreview(...) when Unity exits it will have a non-zero return code. When launching Unity from command line to run through a Play Mode test suite and then exit this presents a problem since it's desirable to look at the Unity exit code to evaluate the test run status. Note that there is no error or warning logged in Unity and the result rendered is correct so in most cases this is not a problem. As stated in the forum thread adding a call to But that solution may not be a good way to go about it. | ||||
| Platform | Windows | ||||
|
After analyzing this a bit more, you change makes sense. The view needs to be unregistered, and this is done emitting commands that must be executed by ExecuteCommandBuffer. Our editors (for example NoesisXamlEditor) is already doing this when disabled:
So everything is good, closing this |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-05-02 10:20 | kristoffer | New Issue | |
| 2024-05-02 10:20 | kristoffer | Tag Attached: Unity | |
| 2024-05-02 11:49 | sfernandez | Assigned To | => jsantos |
| 2024-05-02 11:49 | sfernandez | Status | new => assigned |
| 2024-05-02 11:49 | sfernandez | Target Version | => 3.2.4 |
| 2024-06-07 19:23 | jsantos | Note Added: 0009671 | |
| 2024-06-07 19:23 | jsantos | Note Edited: 0009671 | |
| 2024-06-07 19:23 | jsantos | Note Edited: 0009671 | |
| 2024-06-07 19:23 | jsantos | Status | assigned => resolved |
| 2024-06-07 19:23 | jsantos | Resolution | open => no change required |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |