Skip to content

feat: update workflows #88

feat: update workflows

feat: update workflows #88

Triggered via push May 23, 2024 08:36
Status Failure
Total duration 12m 40s
Artifacts

test.yml

on: push
⚙️ Setup
6s
⚙️ Setup
Matrix: 🧪 Run tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 117 warnings
🧪 Run tests (2022.3.30f1)
Build failed with exit code 125
🧪 Run tests (2020.3.48f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.3.48f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.3.48f1)
Script attached to 'Foldout' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.3.48f1)
Script attached to 'GC' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.3.48f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.3.48f1)
Script attached to 'Text' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.3.48f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.3.48f1)
Script attached to 'Mono' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.3.48f1)
Script attached to 'Custom Monitor UI Template' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.3.48f1)
Script attached to 'Open Button' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'Foldout' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'GC' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'Text' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'Mono' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'Custom Monitor UI Template' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.2.7f1)
Script attached to 'Open Button' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'Foldout' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'GC' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'Text' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'Mono' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'Custom Monitor UI Template' in scene '' is missing or no valid script is attached.
🧪 Run tests (2019.4.40f1)
Script attached to 'Open Button' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Activation failed, attempting retry #1
🧪 Run tests (2020.1.17f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Script attached to 'Foldout' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Script attached to 'GC' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Script attached to 'Text' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Script attached to 'Mono' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Script attached to 'Custom Monitor UI Template' in scene '' is missing or no valid script is attached.
🧪 Run tests (2020.1.17f1)
Script attached to 'Open Button' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'Foldout' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'GC' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'Text' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'Mono' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'Custom Monitor UI Template' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.1.28f1)
Script attached to 'Open Button' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'Foldout' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'GC' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'Text' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'Mono' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'Custom Monitor UI Template' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.2.19f1)
Script attached to 'Open Button' in scene '' is missing or no valid script is attached.
🧪 Run tests (2022.1.24f1)
Activation failed, attempting retry #1
🧪 Run tests (2022.1.24f1)
Activation failed, attempting retry #2
🧪 Run tests (2021.3.38f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2021.3.38f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.3.38f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.3.38f1)
Script attached to 'Foldout' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.3.38f1)
Script attached to 'GC' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.3.38f1)
Script attached to 'SimpleSceneNavigator' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.3.38f1)
Script attached to 'Text' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.3.38f1)
Script attached to 'NanoMonitor' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.3.38f1)
Script attached to 'Mono' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.3.38f1)
Script attached to 'Custom Monitor UI Template' in scene '' is missing or no valid script is attached.
🧪 Run tests (2021.3.38f1)
Activation failed, attempting retry #1
🧪 Run tests (2021.3.38f1)
Activation failed, attempting retry #2
🧪 Run tests (2021.3.38f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2021.3.38f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2021.3.38f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2021.3.38f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2022.2.21f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2022.2.21f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2022.2.21f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2022.2.21f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2023.1.20f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2023.1.20f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2023.1.20f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2023.1.20f1)
GfxDevice renderer is null. Unity cannot update the Ambient Probe and Reflection Probes that the SkyManager generates. Run the Editor without the -nographics argument or generate lighting for your scene.
🧪 Run tests (2023.1.20f1)
Assets/Demo/Cartoon FX & War FX Demo/CFX_Demo_With_UIParticle.cs(83,42): warning CS0618: 'Object.FindObjectOfType(Type)' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'
🧪 Run tests (2023.1.20f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(54,38): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.1.20f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(82,33): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.1.20f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(90,31): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.1.20f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(126,32): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.1.20f1)
Assets/Demo/Performance Demo/Scripts/UIParticle_PerformanceDemo.cs(49,36): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.1.20f1)
Assets/Demo/Performance Demo/Scripts/UIParticle_PerformanceDemo.cs(78,32): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.2.20f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(54,38): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.2.20f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(82,33): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.2.20f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(90,31): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.2.20f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(126,32): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.2.20f1)
Assets/Demo/Cartoon FX & War FX Demo/CFX_Demo_With_UIParticle.cs(83,42): warning CS0618: 'Object.FindObjectOfType(Type)' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'
🧪 Run tests (2023.2.20f1)
Assets/Demo/Performance Demo/Scripts/UIParticle_PerformanceDemo.cs(49,36): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.2.20f1)
Assets/Demo/Performance Demo/Scripts/UIParticle_PerformanceDemo.cs(78,32): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.3.0b10)
Activation failed, attempting retry #1
🧪 Run tests (2023.3.0b10)
Assets/Demo/Cartoon FX & War FX Demo/CFX_Demo_With_UIParticle.cs(83,42): warning CS0618: 'Object.FindObjectOfType(Type)' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'
🧪 Run tests (2023.3.0b10)
Assets/Demo/Performance Demo/Scripts/UIParticle_PerformanceDemo.cs(49,36): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.3.0b10)
Assets/Demo/Performance Demo/Scripts/UIParticle_PerformanceDemo.cs(78,32): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.3.0b10)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(54,38): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.3.0b10)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(82,33): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.3.0b10)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(90,31): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.3.0b10)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(126,32): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (2023.3.0b10)
Activation failed, attempting retry #1
🧪 Run tests (6000.0.2f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(54,38): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (6000.0.2f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(82,33): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (6000.0.2f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(90,31): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (6000.0.2f1)
Assets/Samples/Demo/Scripts/UIParticle_Demo.cs(126,32): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (6000.0.2f1)
Assets/Demo/Performance Demo/Scripts/UIParticle_PerformanceDemo.cs(49,36): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (6000.0.2f1)
Assets/Demo/Performance Demo/Scripts/UIParticle_PerformanceDemo.cs(78,32): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
🧪 Run tests (6000.0.2f1)
Assets/Demo/Cartoon FX & War FX Demo/CFX_Demo_With_UIParticle.cs(83,42): warning CS0618: 'Object.FindObjectOfType(Type)' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'