Not Working FUSDLayerNoticeListener in OmniUSDAWatcher

I’m trying to test OmniUSDAWatcher sample that is one of Connect Samples.

But change/update event for usd file as live is not working.

Problem

change/update event for usd file as live is not working in OmniUSDAWatcher sample.

Test Environment

OS: Windows 10
IDE: Visual Studio 2019
Language: C++

Details

I used ‘helloworld.usd’ file that creaed from ‘HelloWolrd’ sample.

When I started ‘Live Session’ in the Omniverse CREATE, console log is as follows.

‘omniUsdaWatcher.exe’ is executed and waited the change/update event as follows.

I changed ‘translate operation’ from (100, 100, 0) to (200, 100, 0).

but nothing is happend.

Please let me know how I can receive the live updates.
Thanks.

1 Like

Hello @com4943! I’ve shared your post with the dev team for further assistance.

1 Like

Yes, since we updated to the client library 2.x only .live layers are supported for live sync through Nucleus.

To generate a .live file with the samples, you can run the HelloWorld sample with a -l (“dash L”) flag, this will make helloworld.live which can then be “watched” using this OmniUsdaWatcher.

Another note, I would like to improve OmniUsdaWatcher to output .usd files that are repeatedly saved to disk or Nucleus, but I would fear that it would lead people to believe that they were seeing “live” changes, when in fact it’s just a reloading of the entire file.

2 Likes

Thank you answering my question.

You already mentioned the Connect Sample document. I’m sorry that I didn’t read carefully.

Omniverse Client Library and Live Sessions

Live Changes

Then, Is it okay that I open the live stage file(root.live) in ‘.live/helloworld.live/test.live’ folder for listening change/update events during live session?

root.live file path is as follows.

The omniUSDAWatcher is listening change/update events well as follows.

Is it okay that I open the live stage file(root.live) in ‘.live/helloworld.live/test.live’ folder for listening change/update events during live session ?

Absolutely! I made this app for this very purpose. When we develop Connectors that make live changes it’s important that they use the USD API to make the proper structural changes to a composed stage. Watching the .live layer like this ensures that the correct things are happening. Actually, the primUtils.h utility was created to help apps do the right things in context of a multilayered stage in a live setting.

1 Like

Thank you, LouRohan.

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