InvalidObjectException occurs with Stream Cache library

:thinking: Problem

You experience an error in the Stream Cache library in HOOPS Communicator 2021 SP2 or later version, like InvalidObjectException occurs in sc_store_text sample.

:seedling: Solution

You can check the drivers which are installed on your environment and try the followings:

  1. DirectX11
    Copy the files hps_directx11.dll and d3dcompiler_47.dll from authoring\converter\bin\win64 to be alongside authoring_samples.exe.
  2. OpenGL
    There are no special files needed to make OpenGL work. You do, however, need OpenGL v3.2+ installed on the system.

*The Stream Cache library in HOOPS Communicator uses HOOPS Visualize. The OpenGL1 driver is no longer available from HOOPS Visualize HPS 2021 SP2. The default version included with Windows Server can be an old version of OpenGL.