Page 1 of 1

Error choosing component type in ParameterContainer

Posted: 2021/06/26 11:05
by ZeroX
Hi Arbor Team,
I am using ParameterContainer to store data. An error occurred when I selected the parameter type as component, and then when I click to select the type for the component, I get the error as below: https://youtu.be/0h4Uh1hfXlA

Version information:
Arbor 3 version: 3.8.1
Unity version: 2020.3.11 LTS

Re: Error choosing component type in ParameterContainer

Posted: 2021/06/26 11:55
by caitsithware
Thank you for the bug report.

I was able to confirm the reproduction with Unity2020.3.12f1, so I will fix it in the next version.

Temporary remedy:
  • Open "Assets/Plugins/Arbor/Internal/Scripts/AttributeHelper.cs".
  • Changed line 205 as follows(Inside the GetAttributes method)

    Code: Select all

    try
    {
    	attributes = member.GetCustomAttributes(typeof(Attribute), false) as Attribute[];
    }
    catch
    {
    	attributes = new Attribute[0];
    }
The cause is that Unity's PlasticSCM type cannot be read, so if you are not using PlasticSCM, removing the Version Control package will also solve the problem.

Re: Error choosing component type in ParameterContainer

Posted: 2021/06/26 15:38
by ZeroX
Thank you for your support, I have fixed the problem.

Re: Error choosing component type in ParameterContainer

Posted: 2021/07/28 12:12
by caitsithware
Sorry for the late report.

Fixed in Arbor 3.8.2.
Re-DL from the asset store and re-import according to the update instructions in the release notes and readme.
Arbor 3.8.2 release | Arbor 3

So this topic is closed.