Skip to content

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

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\com.solidalloy.generic-scriptable-architecture@1.4.1\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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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