Skip to content

Build fails due to compilation error in BaseValue.csΒ #20

@steve-salmond

Description

@steve-salmond

It looks like there might be a typo in BaseValue.SerializedCopyInEditor() - perhaps return value should be return originalValue?

Here's the relevant compilation error:

Library\PackageCache\[email protected]\Runtime\Values\BaseValue.cs(63,20): error CS0103: The name 'value' does not exist in the current context

Here's the affected section of code in BaseValue.cs:

        protected static T SerializedCopyInEditor<T>(T originalValue)
        {
#if UNITY_EDITOR
            return SerializationHelper.CreateCopy(originalValue);
#else
            return value;
#endif
        }

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions