Hello. This asset does not compile when loaded into a fresh Unity project on versions 2021.2.7f1 and 2021.3.16f1. Asset version is 3.3.0.
There are multiple compilation errors whether I select Yes to auto-upgrade the scripts, or No. I will post these errors below:
If “Yes” to auto-upgrade scripts:
1
2
3
4
5
6
7
8
9
10
11
12
13
Assets\ParadoxNotion\CanvasCore\Framework\Design\Editor\Windows\ActiveOwnersOverview.cs(41,40):error CS0103:The name'FindObjectsByType'does not exist inthe current context
Assets\ParadoxNotion\CanvasCore\Framework\Design\Editor\Windows\ActiveOwnersOverview.cs(41,70):error CS0103:The name'FindObjectsSortMode'does not exist inthe current context
Assets\ParadoxNotion\CanvasCore\Common\Runtime\Services\MonoManager.cs(37,32):error CS0103:The name'FindAnyObjectByType'does not exist inthe current context
Assets\ParadoxNotion\CanvasCore\Common\Runtime\Utility\ObjectUtils.cs(64,39):error CS0117:'Object'does not containadefinition for'FindObjectsByType'
Assets\ParadoxNotion\CanvasCore\Common\Runtime\Utility\ObjectUtils.cs(64,69):error CS0103:The name'FindObjectsSortMode'does not exist inthe current context
Assets\ParadoxNotion\CanvasCore\Framework\Design\Editor\Windows\GraphEditor.Toolbar.cs(108,48):error CS0117:'Object'does not containadefinition for'FindObjectsByType'
Assets\ParadoxNotion\CanvasCore\Framework\Design\Editor\Windows\GraphEditor.Toolbar.cs(108,78):error CS0103:The name'FindObjectsSortMode'does not exist inthe current context
If selecting “No” to auto-upgrade:
1
2
Assets\ParadoxNotion\CanvasCore\Framework\Design\Editor\Windows\GraphEditor.cs(235,76):error CS0234:The type or namespacename'PrefabStage'does not exist inthe namespace'UnityEditor.Experimental.SceneManagement'(are you missing an assembly reference?)
Your Unity Asset Store page lists it as compatible from 2020.3 and up, and it definitely is not. Screenshot below as proof.
Edit:
FindObjectsByType was added in release 2021.3.18: https://unity.com/releases/editor/whats-new/2021.3.18 , however the use of this call is not wrapped in a conditional and the developer lists 2020.3.48 as the minimum supported version.
I am using Unity 2020.3.48f1. It is the version I am working on NodeCanvas and the one that asset store submissions are being done, and Unity 2020.3.48f1 DOES support this new API. This is why it is also shown as the minimum compatible version as well.
It is a really weird move from Unity that newewer Unity version do not support this API…
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.