GenericScriptableArchitecture icon indicating copy to clipboard operation
GenericScriptableArchitecture copied to clipboard

Potential fix for build-time compilation error

Open steve-salmond opened this issue 3 years ago • 3 comments

This change is intended to address a compilation error that crops up in BaseValue.cs when building a project. Looks like 'return value' should potentially be 'return originalValue' instead?

image

steve-salmond avatar Sep 16 '22 04:09 steve-salmond

FYI I've hit this too. Given the amount of time that has passed here, I'm pursuing a fork (see: https://github.com/openupm/openupm/pull/3535)

szunami avatar Nov 08 '22 20:11 szunami

FYI I've hit this too. Given the amount of time that has passed here, I'm pursuing a fork (see: openupm/openupm#3535)

Hey man, how do you use the patched package?

joeyzhouhaiyi avatar Nov 23 '22 05:11 joeyzhouhaiyi

Hey man, how do you use the patched package?

The easiest way is to install the OpenUPM CLI, then do:

openupm remove com.solidalloy.generic-scriptable-architecture

Followed by:

openupm add com.szunami.generic-scriptable-architecture

That will automatically update your scoped registries and manifest.json. If you'd rather do it by hand:

"scopedRegistries": [
    {
      "name": "package.openupm.com",
      "url": "https://package.openupm.com",
      "scopes": [
        "com.openupm",
        "com.solidalloy",
        "com.solidalloy.extevents",
        "com.solidalloy.generic-unity-objects",
        "com.solidalloy.type-references",
        "com.solidalloy.unity-dropdown",
        "com.solidalloy.util",
        "com.szunami.generic-scriptable-architecture",
        "org.nuget",
        "org.nuget.system.buffers",
        "org.nuget.system.memory",
        "org.nuget.system.numerics.vectors",
        "org.nuget.system.runtime.compilerservices.unsafe"
      ]
    }
  ],
"dependencies": {
  ...
  "com.szunami.generic-scriptable-architecture": "1.4.2",
  ...
}

CharlieHess avatar Apr 01 '23 14:04 CharlieHess