# InvalidObjectException occurs with Stream Cache library

**URL:** <https://forum.techsoft3d.com/t/invalidobjectexception-occurs-with-stream-cache-library/1348>\
**Category:** HOOPS Visualize Web\
**Tags:** knowledge-base, authoring\
**Created:** [October 14, 2021, 4:00am UTC](https://forum.techsoft3d.com/t/invalidobjectexception-occurs-with-stream-cache-library/1348 "2021-10-14T04:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriel.peragine](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/gabriel.peragine/32/1535_2.png) [@gabriel.peragine](https://forum.techsoft3d.com/u/gabriel.peragine)\
**Post date:** [October 14, 2021, 4:00am UTC](https://forum.techsoft3d.com/t/invalidobjectexception-occurs-with-stream-cache-library/1348/1 "2021-10-14T04:00:00Z")

</div>

## 🤔 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.

## 🌱 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.
