Omniverse Code Computer Freezeup

Hi,

We’ve been having some difficulties with our workstation crashing while developing an extension for the latest version of Code, 2022.3.1 (didn’t seem to be happening with 2022.3.0, and I don’t think we made substantive changes before it started crashing). I would normally look for error logs and include them with this post, but given that the entire computer is freezing and needs to be power cycled, the best we’ve been able to do so far is take pictures of the errors in the frozen terminal output. I include these pictures below, along with a transcription of the errors for easier copying/pasting.

Image 1:

Red Messages:

2023-01-30 21:32:24 [634, 321ms] [Error] [carb.crashreporter-breakpad.plugin] Wrote dump file 'C:/Users/LabUser/AppData/Local/ov/data/Kit/Code2022.3\560ceb41-1115-4ae5-9e55-f4adbc6032a8.dmp.zip'
2023-01-30 21:32:24 [634, 322ms] [Error] [carb.crashreporter-breakpad.plugin]     the dump file was deleted due to a successful upload. Its originalsize was 1889020 bytes and was readable.
2023-01-30 21:32:24 [634, 321ms] [Error] [carb.crashreporter-breakpad.plugin] Crash detected in pid 10936 thread 1034

// A bunch of yellow messages containing potentially useful crash metadata

2023-01-30 21:32:24 [635, 032ms] [Fatal] [carb.crashreporter-breakpad.plugin] Thread 10384 backtrace follows:
2023-01-30 21:32:24 [635, 034ms] [Fatal] [carb.crashreporter-breakpad.plugin] 000: gpu.foundation.plugin.dll!omni::activity::getInstance+0x3ffe9
2023-01-30 21:32:24 [635, 042ms] [Fatal] [carb.crashreporter-breakpad.plugin] 001: omni.usd.dll!omin::usd::Selection::update+0x29ec4
2023-01-30 21:32:24 [635, 043ms] [Fatal] [carb.crashreporter-breakpad.plugin] 002: omni.usd.dll!omin::usd::Selection::update+0x29ec4
2023-01-30 21:32:24 [635, 049ms] [Fatal] [carb.crashreporter-breakpad.plugin] 003: carb.events.plugin.dll!+0x5b90
2023-01-30 21:32:24 [635, 049ms] [Fatal] [carb.crashreporter-breakpad.plugin] 004: carb.events.plugin.dll!+0x6c1a
2023-01-30 21:32:24 [635, 056ms] [Fatal] [carb.crashreporter-breakpad.plugin] 005: omni.kit.loop-default.plugin.dll!+0x9c7b
2023-01-30 21:32:24 [635, 057ms] [Fatal] [carb.crashreporter-breakpad.plugin] 006: omni.kit.loop-default.plugin.dll!+0x71e6
2023-01-30 21:32:24 [635, 058ms] [Fatal] [carb.crashreporter-breakpad.plugin] 007: omni.kit.loop-default.plugin.dll!+0x6f19
2023-01-30 21:32:24 [635, 060ms] [Fatal] [carb.crashreporter-breakpad.plugin] 008: ucrtbase.dll!configurethreadlocale+0x92
2023-01-30 21:32:24 [635, 060ms] [Fatal] [carb.crashreporter-breakpad.plugin] 009: KERNEL32.DLL!BaseThreadInitThunk+0x14
2023-01-30 21:32:24 [635, 061ms] [Fatal] [carb.crashreporter-breakpad.plugin] 010: ntdll.dll!RtlUserThreadStart+0x21

Images 2 & 3:

Red Messages:

2023-01-30 21:36:38 [71, 939ms] [Error] [gpu.foundation.plugin] A GPU crash occurred. Exiting the application... Reasons for the failure: a device lost, out of memory, or an unexpected bug.
2023-01-30 21:32:24 [78, 601ms] [Error] [carb.crashreporter-breakpad.plugin] crash detected

// A bunch of yellow messages containing potentially useful crash information; unfortunately we didn't think to get a proper picture of these at the time.

2023-01-30 21:36:51 [84, 429ms] [Fatal] [carb.crashreporter-breakpad.plugin] Thread 9464 backtrace follows:
2023-01-30 21:36:51 [84, 430ms] [Fatal] [carb.crashreporter-breakpad.plugin] 000: gpu.foundation.plugin.dll!omni::activity::getInstance+0x3ffe9
2023-01-30 21:36:51 [84, 431ms] [Fatal] [carb.crashreporter-breakpad.plugin] 001: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x61b1
2023-01-30 21:36:51 [84, 432ms] [Fatal] [carb.crashreporter-breakpad.plugin] 002: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x1267a
2023-01-30 21:36:51 [84, 433ms] [Fatal] [carb.crashreporter-breakpad.plugin] 003: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x7aba
2023-01-30 21:36:51 [84, 433ms] [Fatal] [carb.crashreporter-breakpad.plugin] 004: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x1267a
2023-01-30 21:36:51 [84, 434ms] [Fatal] [carb.crashreporter-breakpad.plugin] 005: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x1225d
2023-01-30 21:36:51 [84, 439ms] [Fatal] [carb.crashreporter-breakpad.plugin] 006: carb.events.plugin.dll!+0x5b90
2023-01-30 21:36:51 [84, 441ms] [Fatal] [carb.crashreporter-breakpad.plugin] 007: carb.events.plugin.dll!+0x6c1a
2023-01-30 21:36:51 [84, 449ms] [Fatal] [carb.crashreporter-breakpad.plugin] 008: omni.kit.loop-default.plugin.dll!+0x9c7b
2023-01-30 21:36:51 [84, 454ms] [Fatal] [carb.crashreporter-breakpad.plugin] 009: omni.kit.app.plugin.dll!+0xf6ea
2023-01-30 21:36:51 [84, 455ms] [Fatal] [carb.crashreporter-breakpad.plugin] 010: omni.kit.app.plugin.dll!+0x4c3fe
2023-01-30 21:36:51 [84, 462ms] [Fatal] [carb.crashreporter-breakpad.plugin] 011: kit.exe!+0x2ec9
2023-01-30 21:36:51 [84, 463ms] [Fatal] [carb.crashreporter-breakpad.plugin] 012: kit.exe!+0x3454
2023-01-30 21:36:51 [84, 464ms] [Fatal] [carb.crashreporter-breakpad.plugin] 013: kit.exe!+0x3e64
2023-01-30 21:36:51 [84, 465ms] [Fatal] [carb.crashreporter-breakpad.plugin] 014: KERNEL32.DLL!BaseThreadInitThunk+0x14
2023-01-30 21:36:51 [84, 466ms] [Fatal] [carb.crashreporter-breakpad.plugin] 015: ntdll.dll!RtlUserThreadStart+0x21

It seems like, in both cases, the top of the stack trace includes a call to getInstance, but how this causes the entire computer to freeze up is beyond me. It even crashes sometimes on launch, and our extension isn’t set to auto-load, so we’re not even sure if the root cause is the extension, and if it is, which part of it would be causing this behavior.

We’ve tried updating Windows and the GPU drivers, but it hasn’t fixed the issue. We’ve also updated Nucleus and Cache as well, although it looks like there’s a new version of Nucleus that was released today, so while we intend to update as soon as this post is up, it technically isn’t fully updated right now. Those updates also did not fix the issue.

I can provide additional information about the workstation if needed, but a lot of it is already included in the first image’s crash metadata printout (in yellow). I can also provide some specifics about the extension if necessary as well.

Thanks!

Quick add-on to this which may or may not be related to the crashing problem:

After trying to update Nucleus, we noticed this message popping up after it spends around 30-60 seconds loading:

When we open up the System Monitor, we don’t see the “Web” application in the “Apps” section, but everything that is there is enabled. We’ve tried restarting both the System Monitor and computer to no avail. Furthermore, we’re using a Local server, so it is unclear why would even need to enable web services in this scenario. Technically, the extension we’re developing does try to access a specific USD file, and so while it wouldn’t explain the crashes happening without us launching the extension, it is a potential explanation for the crashes happening when the extension is enabled/launched. The crashes occur without us ever calling the function that references that USD though, so I don’t know if that really is the cause. Anyways, just figured it was worth adding some extra potentially relevant information.

Hey. Some more info that might be helpful. Is this this happening with just Code or other apps as well? If it’s just Code, could be worth uninstalling and reinstalling the app.

Could you try updating your GPU driver too? Driver 526.47 Compatibility Issues with Omniverse Apps

Just tried launching Create 2022.3.1 and found no crashing problems for the base app, but when I launched the extension, I got a similar crash log to the ones from Code. Fortunately, the crash was limited to Create itself, and didn’t cause the computer to freeze, so I can paste the full log instead of having to manually transcribe it. It’s long, so I put it in an expandable “Hide Details” element.

Console Crash Printout
2023-02-02 19:02:48 [1,210,485ms] [Warning] [carb.crashreporter-breakpad.plugin] deleting minidump: 'C:/Users/LabUser/AppData/Local/ov/data/Kit/Create.Next/2022.3\5f130508-017a-4c2b-a53c-3b36812e9706.dmp.zip' (use setting "/crashreporter/preserveDump=true" to save).
2023-02-02 19:02:48 [1,210,492ms] [Error] [carb.crashreporter-breakpad.plugin] Wrote dump file 'C:/Users/LabUser/AppData/Local/ov/data/Kit/Create.Next/2022.3\5f130508-017a-4c2b-a53c-3b36812e9706.dmp.zip'
2023-02-02 19:02:48 [1,210,493ms] [Error] [carb.crashreporter-breakpad.plugin]     the dump file was deleted due to a successful upload.  Its originalsize was 1757541 bytes and was readable.
2023-02-02 19:02:49 [1,211,100ms] [Fatal] [carb.crashreporter-breakpad.plugin] Crash detected in pid 17108 thread 11876
2023-02-02 19:02:49 [1,211,102ms] [Warning] [carb.crashreporter-breakpad.plugin] Crash metadata:
2023-02-02 19:02:49 [1,211,104ms] [Warning] [carb.crashreporter-breakpad.plugin]   CarbSdkVersion = '129.7+129.tc225.e66972f6' 
2023-02-02 19:02:49 [1,211,105ms] [Warning] [carb.crashreporter-breakpad.plugin]   DumpId = '5f130508-017a-4c2b-a53c-3b36812e9706'
2023-02-02 19:02:49 [1,211,106ms] [Warning] [carb.crashreporter-breakpad.plugin]   ProductName = 'OmniverseKit'
2023-02-02 19:02:49 [1,211,106ms] [Warning] [carb.crashreporter-breakpad.plugin]   RetryCount = '0'
2023-02-02 19:02:49 [1,211,107ms] [Warning] [carb.crashreporter-breakpad.plugin]   StartupTime = '1675363358'
2023-02-02 19:02:49 [1,211,108ms] [Warning] [carb.crashreporter-breakpad.plugin]   UptimeSeconds = '1208'
2023-02-02 19:02:49 [1,211,108ms] [Warning] [carb.crashreporter-breakpad.plugin]   Version = '104.1+release.387.3b4671f3.tc'
2023-02-02 19:02:49 [1,211,109ms] [Warning] [carb.crashreporter-breakpad.plugin]   appName = 'Create.Next'
2023-02-02 19:02:49 [1,211,110ms] [Warning] [carb.crashreporter-breakpad.plugin]   appState = 'started'
2023-02-02 19:02:49 [1,211,113ms] [Warning] [carb.crashreporter-breakpad.plugin]   appVersion = '2022.3.1-rc.25'
2023-02-02 19:02:49 [1,211,117ms] [Warning] [carb.crashreporter-breakpad.plugin]   autoloadExts = ''
2023-02-02 19:02:49 [1,211,117ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildBranch = 'release'
2023-02-02 19:02:49 [1,211,118ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildCi = 'tc'
2023-02-02 19:02:49 [1,211,119ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildHash = '3b4671f3'
2023-02-02 19:02:49 [1,211,119ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildId = '13075238'
2023-02-02 19:02:49 [1,211,120ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildMajor = '104'
2023-02-02 19:02:49 [1,211,120ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildMinor = '1'
2023-02-02 19:02:49 [1,211,121ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildMr = '0'
2023-02-02 19:02:49 [1,211,122ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildNumber = '387'
2023-02-02 19:02:49 [1,211,122ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildPatch = '0'
2023-02-02 19:02:49 [1,211,123ms] [Warning] [carb.crashreporter-breakpad.plugin]   buildVersion = '104.1.0'
2023-02-02 19:02:49 [1,211,123ms] [Warning] [carb.crashreporter-breakpad.plugin]   cpuId = 'Intel64 Family 6 Model 85 Stepping 4'
2023-02-02 19:02:49 [1,211,124ms] [Warning] [carb.crashreporter-breakpad.plugin]   cpuName = 'Intel(R) Core(TM) i7-7820X CPU @ 3.60GHz'
2023-02-02 19:02:49 [1,211,125ms] [Warning] [carb.crashreporter-breakpad.plugin]   cpuVendor = 'GenuineIntel'
2023-02-02 19:02:49 [1,211,125ms] [Warning] [carb.crashreporter-breakpad.plugin]   desktopOrigin = '(0, 0)'
2023-02-02 19:02:49 [1,211,130ms] [Warning] [carb.crashreporter-breakpad.plugin]   desktopSize = '6400x2160'
2023-02-02 19:02:49 [1,211,132ms] [Warning] [carb.crashreporter-breakpad.plugin]   displayCount = '2'
2023-02-02 19:02:49 [1,211,133ms] [Warning] [carb.crashreporter-breakpad.plugin]   displayRes_0 = '3840x2160x32bit@60Hz' 
2023-02-02 19:02:49 [1,211,134ms] [Warning] [carb.crashreporter-breakpad.plugin]   displayRes_1 = '2560x1440x32bit@59Hz' 
2023-02-02 19:02:49 [1,211,134ms] [Warning] [carb.crashreporter-breakpad.plugin]   environmentName = 'default'
2023-02-02 19:02:49 [1,211,135ms] [Warning] [carb.crashreporter-breakpad.plugin]   experience = 'Create Next'
2023-02-02 19:02:49 [1,211,135ms] [Warning] [carb.crashreporter-breakpad.plugin]   externalBuild = '1' 
2023-02-02 19:02:49 [1,211,136ms] [Warning] [carb.crashreporter-breakpad.plugin]   extraExts = 'pcg.sketchincontext-1.0.0'
2023-02-02 19:02:49 [1,211,137ms] [Warning] [carb.crashreporter-breakpad.plugin]   gpuDriver_0 = '528.24' 
2023-02-02 19:02:49 [1,211,137ms] [Warning] [carb.crashreporter-breakpad.plugin]   gpuVRAM_0 = '25521291264' 
2023-02-02 19:02:49 [1,211,138ms] [Warning] [carb.crashreporter-breakpad.plugin]   gpu_0 = 'NVIDIA GeForce RTX 3090' 
2023-02-02 19:02:49 [1,211,139ms] [Warning] [carb.crashreporter-breakpad.plugin]   kitRendererDriverVersion = '528.24' 
2023-02-02 19:02:49 [1,211,139ms] [Warning] [carb.crashreporter-breakpad.plugin]   lastCommand = 'ToggleExtension(ext_id=pcg.sketchincontext-1.0.0,enable=True)' 
2023-02-02 19:02:49 [1,211,140ms] [Warning] [carb.crashreporter-breakpad.plugin]   lastCommands = 'TransformMultiPrimsSRTCpp(count=1,paths=?,new_translations=?,new_rotation_eulers=?,new_rotation_orders=?,new_scales=?,old_translations=?,old_rotation_eulers=?,old_rotation_orders=?,old_scales=?,usd_context_name=,time_code=0.0),TransformMultiPrimsSRTCpp(count=1,paths=?,new_translations=?,new_rotation_eulers=?,new_rotation_orders=?,new_scales=?,old_translations=?,old_rotation_eulers=?,old_rotation_orders=?,old_scales=?,usd_context_name=,time_code=0.0),SelectPrimsCommand(old_selected_paths=?,new_selected_paths=?,expand_in_stage=True),SelectPrimsCommand(old_selected_paths=?,new_selected_paths=?,expand_in_stage=True),Group,TransformPrimCommand(path=/World/Camera,new_transform_matrix=?,old_transform_matrix=?,time_code=?,had_transform_at_key=False,usd_context_name=),ChangePropertyCommand(prop_path=/World/Camera.omni:kit:centerOfInterest,value=?,prev=?,usd_context_name=),ChangePropertyCommand(prop_path=/World/Camera.omni:kit:cameraLock,value=True,prev=?,timecode=?,type_to_create_if_not_exist=?),ChangePropertyCommand(prop_path=/World/Camera.omni:kit:cameraLock,value=False,prev=True,timecode=?,type_to_create_if_not_exist=?),ToggleExtension(ext_id=pcg.sketchincontext-1.0.0,enable=True)'
2023-02-02 19:02:49 [1,211,141ms] [Warning] [carb.crashreporter-breakpad.plugin]   memoryStats = '(avail/total) RAM: 28.3976/39.693GB, Swap: 26.9811/45.443GB, VM: 130939/131072GB' 
2023-02-02 19:02:49 [1,211,145ms] [Warning] [carb.crashreporter-breakpad.plugin]   osDistro = '2009'
2023-02-02 19:02:49 [1,211,149ms] [Warning] [carb.crashreporter-breakpad.plugin]   osName = 'Windows 10 Enterprise'
2023-02-02 19:02:49 [1,211,149ms] [Warning] [carb.crashreporter-breakpad.plugin]   osVersion = '10.0.19044'
2023-02-02 19:02:49 [1,211,150ms] [Warning] [carb.crashreporter-breakpad.plugin]   portableMode = '0'
2023-02-02 19:02:49 [1,211,151ms] [Warning] [carb.crashreporter-breakpad.plugin]   primaryDisplayRes = '3840x2160x32bit@60Hz'
2023-02-02 19:02:49 [1,211,151ms] [Warning] [carb.crashreporter-breakpad.plugin]   startup_time = '3.1264844'
2023-02-02 19:02:49 [1,211,152ms] [Warning] [carb.crashreporter-breakpad.plugin]   systemInfo = '
|---------------------------------------------------------------------------------------------|
| Driver Version: 528.24        | Graphics API: D3D12
|=============================================================================================| 
| GPU | Name                             | Active | LDA | GPU Memory | Vendor-ID | LUID       |
|     |                                  |        |     |            | Device-ID | UUID       |
|---------------------------------------------------------------------------------------------|
| 0   | NVIDIA GeForce RTX 3090          | Yes: 0 |     | 24339   MB | 10de      | 10363000.. |
|     |                                  |        |     |            | 2204      | 0          |
|=============================================================================================|
| OS: Windows, Version: 10.0 (21H2), Build: 19044
| Processor: Intel(R) Core(TM) i7-7820X CPU @ 3.60GHz | Cores: 8 | Logical: 16 
|---------------------------------------------------------------------------------------------|
| Total Memory (MB): 40645 | Free Memory: 34216
| Total Page/Swap (MB): 46533 | Free Page/Swap: 37591
|---------------------------------------------------------------------------------------------|
' 
2023-02-02 19:02:49 [1,211,153ms] [Warning] [carb.crashreporter-breakpad.plugin]   telemetrySessionId = '14773778543004837975'
2023-02-02 19:02:49 [1,211,153ms] [Fatal] [carb.crashreporter-breakpad.plugin] Thread 11876 backtrace follows:
2023-02-02 19:02:49 [1,211,158ms] [Fatal] [carb.crashreporter-breakpad.plugin] 000: gpu.foundation.plugin.dll!+0x3117c
2023-02-02 19:02:49 [1,211,169ms] [Fatal] [carb.crashreporter-breakpad.plugin] 001: rtx.postprocessing.plugin.dll!+0x50fbc
2023-02-02 19:02:49 [1,211,170ms] [Fatal] [carb.crashreporter-breakpad.plugin] 002: carb.scenerenderer-rtx.plugin.dll!carbOnPluginShutdown+0x7139
2023-02-02 19:02:49 [1,211,170ms] [Fatal] [carb.crashreporter-breakpad.plugin] 003: carb.scenerenderer-rtx.plugin.dll!carbOnPluginShutdown+0x3eee
2023-02-02 19:02:49 [1,211,171ms] [Fatal] [carb.crashreporter-breakpad.plugin] 004: carb.scenerenderer-rtx.plugin.dll!carbOnPluginShutdown+0xba4
2023-02-02 19:02:49 [1,211,172ms] [Fatal] [carb.crashreporter-breakpad.plugin] 005: carb.scenerenderer-rtx.plugin.dll!carbOnPluginShutdown+0x204d7
2023-02-02 19:02:49 [1,211,175ms] [Fatal] [carb.crashreporter-breakpad.plugin] 006: rtx.hydra.dll!omni::activity::getInstance+0x57359
2023-02-02 19:02:49 [1,211,177ms] [Fatal] [carb.crashreporter-breakpad.plugin] 007: rtx.hydra.dll!omni::activity::getInstance+0x556ab
2023-02-02 19:02:49 [1,211,178ms] [Fatal] [carb.crashreporter-breakpad.plugin] 008: omni.usd.dll!omni::usd::UsdContext::hasPendingEdit+0x77d
2023-02-02 19:02:49 [1,211,180ms] [Fatal] [carb.crashreporter-breakpad.plugin] 009: omni.usd.dll!omni::usd::Selection::update+0x13c20
2023-02-02 19:02:49 [1,211,181ms] [Fatal] [carb.crashreporter-breakpad.plugin] 010: omni.usd.dll!omni::usd::Selection::update+0x29e9b 
2023-02-02 19:02:49 [1,211,182ms] [Fatal] [carb.crashreporter-breakpad.plugin] 011: omni.usd.dll!omni::usd::LayersLegacy::resolvePrimPathReferencesStatic+0x5b8d
2023-02-02 19:02:49 [1,211,186ms] [Fatal] [carb.crashreporter-breakpad.plugin] 012: carb.events.plugin.dll!+0x5b90 
2023-02-02 19:02:49 [1,211,186ms] [Fatal] [carb.crashreporter-breakpad.plugin] 013: carb.events.plugin.dll!+0x6c1a
2023-02-02 19:02:49 [1,211,191ms] [Fatal] [carb.crashreporter-breakpad.plugin] 014: omni.kit.loop-default.plugin.dll!+0x9c7b
2023-02-02 19:02:49 [1,211,192ms] [Fatal] [carb.crashreporter-breakpad.plugin] 015: omni.kit.loop-default.plugin.dll!+0x71e6
2023-02-02 19:02:49 [1,211,194ms] [Fatal] [carb.crashreporter-breakpad.plugin] 016: omni.kit.loop-default.plugin.dll!+0x6f19 
2023-02-02 19:02:49 [1,211,194ms] [Fatal] [carb.crashreporter-breakpad.plugin] 017: ucrtbase.dll!configthreadlocale+0x92
2023-02-02 19:02:49 [1,211,197ms] [Fatal] [carb.crashreporter-breakpad.plugin] 018: KERNEL32.DLL!BaseThreadInitThunk+0x14
2023-02-02 19:02:49 [1,211,198ms] [Fatal] [carb.crashreporter-breakpad.plugin] 019: ntdll.dll!RtlUserThreadStart+0x21  

The GPU driver is updated to the latest version according to GeForce; the driver version is 528.24 as can be seen in the console printout.

Because the crashes on Create don’t freeze the entire workstation, it was much easier to slowly uncomment all of the extension code to find the crash, which I’ve now done. It seems to be crashing on the following line inside of a class that wraps (but doesn’t inherit) the widget for our extension’s custom viewport:

# Create the ViewportWidget, forwarding all of the arguments to this constructor
self.__vp_widget = okwv.ViewportWidget(usd_context_name=usd_context_name, camera_path=camera_path, resolution=resolution, *ui_args, **ui_kw_args)

Rolling back to Code 2022.3.0, the extension seems to work without issue. Did one of the changes made for 2022.3.1 affect okwv.ViewportWidget?

It shouldn’t have changed significantly. Can you give some context for what you’re doing here? Are you working with multiple usd contexts? Does the usd context exist? Does the camera exist?

If you can provide a reproducible snippet, it’ll be easier to communicate it with the dev team.

After some testing, it seems that the crash only occurs if the rendering is set to Real-Time when the extension is launched. On Interactive Path-Tracing, it works fine, and we can even switch back to Real-Time after the extension is loaded without issues.

We’re only using one context (the context created by the program that is accessed by calling omni.usd.get_context() ), the string passed for the context is '', and the camera path is set to None (though that seems to default it to the standard perspective camera in most cases).

I also can’t seem to consistently get Code 2022.3.1 to cause the freezing issue, but I can consistently get Create 2022.3.1 to crash.

Thanks for the update! Can you share a trimmed down code snippet that I can use to try to reproduce it on my end?

Yup, meant to do this shortly after the last post but didn’t get a chance to do so. I made a minimal extension that achieves the same crash, and it uses the three files included below:

custom_viewport.py (2.1 KB)
extension.py (939 Bytes)
custom_view_widget.py (3.2 KB)

EDIT: I realized that there’s a couple unnecessary things leftover from when I was testing for a different crash; for instance, the self.__dead attribute currently doesn’t do anything.

Thank you @jlw387. I was able to reproduce the crash and I’ve filed an internal ticket for this (OM-81658).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.