IMPORTANT
Before moving this from the Visual Scripting (VS) team to Scripting, I uploaded a .unitypackage that does not require VS to be installed to reproduce the issue. It mimics the behavior of the VS package to trigger the warning users are encountering. Our logic worked prior to the change of the TypeCache back-end, this is confirmed by the bisection requested for this bug report. Please read my comment below for more information.
Reproduction steps:
1. Open the attached project "TestProject"
2. Open the “/Assets/Samples/XR Interaction Toolkit/2.4.3/Starter Assets/DemoScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console window
Expected result: The warning “Could not load the file 'NiceIO'“ is not displayed
Actual result: “Could not load the file 'NiceIO'“ warning is seen
Reproducible with: 1.8.0 (2022.3.0f1, 2022.3.6f1, 2023.1.7f1, 2023.2.0b3)
Not reproducible with: 1.7.8 (2022.2.1f1), 1.8.0 (2021.3.29f1, 2022.2.21f1)
Reproduces on: Windows 10 Enterprise 21H2
Notes:
- Sometimes requires opening SampleScene and then repeating steps 2-4 to reproduce