There are several issues that could occur when using USD.
Here is an overview of how to deal with issues.
- Turn on logging. From here, you will be able to see verbose messages to determine where the error occurs. You can also write to the USD log files with TraceLogger.
- Debug. Use the USD debugger to view the error message. From here you will be able to run USD commands through the debugger to do things like narrow down which custom hosted control might be throwing an error.
- Step through in Visual Studio. If you find a control that is throwing an error, and you have the source code, step through the code to determine the problem.