Q100444: The Deprecation of Python-based AssetAPI plug-ins in Katana 4.5v1 and onwards

Follow

SUMMARY

With the release of Katana 4.5v1 and 5.0v1, support has been fully removed for Python-based Asset plug-ins.

Users running versions of Katana from the 3.X and 4.0 lines with a Python-based Asset plug-in loaded in KATANA_RESOURCES will encounter the following warning message:

[WARN python.AssetAPI]: AssetAPI.RegisterAssetPlugin(): Registering plug-in 'XYZ', a Python-based Asset plug-in.
Python-based AssetAPI plug-ins have been deprecated, and support for them will be removed in a future release.
Moving forward, for performance and stability reasons, AssetAPI plug-ins are to be written in C++.

 

MORE INFORMATION

Support for Python-based asset plug-ins has been removed because these plug-ins are relying on a Python sub-process managed by ProcessManager, a poorly-performing and unreliable module that is also causing issues for other areas of Katana. Therefore the module has been removed entirely and will not be replaced as non-Python-based alternatives, such as the Katana Asset API (C++), are available and much more performant.

However, the Python-based AssetWidgetDelegate plug-ins, that are the standard means of providing an Asset plug-in specific UI, have not been deprecated as they are a part of the UI and therefore not of concern in regards to the scene graph evaluation performance. Further information regarding how to configure an AssetWidgetDelegate can be found in the Katana User Guide under the Asset Management > Extending the User Interface with Asset Widget Delegate section.

 

If production-blocking bugs or other issues occur, please open a Support ticket and let us know the problem you are encountering. For more information on how to open a Support ticket, please refer to the following article: Q100064: How to raise a support ticket.

    We're sorry to hear that

    Please tell us why