unity-experiment-framework
unity-experiment-framework copied to clipboard
Warning in UXFSessionDisplay.cs after importing UXF
After importing UXF, I got the following warning related to UXFSessionDisplay.cs:
- Assets\UXF\Scripts\Etc\Editor\UXFSessionDisplay.cs(44,23): warning CS0618: 'Object.FindObjectOfType<T>()' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'
I am using:
- Unity 6 (6000.0.27f1)
- XR Interaction Toolkit v3.0.7
- UXF v2.4.4
Thanks for all your work on this project!
Looks like UXF doesn't work under Unity 6. I don't have much capacity to update UXF going forwards. If anyone wants to create a PR fixing these issues feel free. Otherwise, I recommend trying an older Unity version
Hey! I've gone ahead and done the version bump while maintaining backward compatibility. Let me know if everything looks good, or if it would be better to release a version that's only meant for Unity 6 and beyond.