Skip to content

v0.14.1 — compiles clean, dependency check fixed

Choose a tag to compare

@lucas-martinic lucas-martinic released this 14 Aug 20:23
· 10 commits to main since this release

Same package id as 0.14.0 (dev.polyfork.unity-connector), so no re-install dance — this is the build to submit.

Fixed

  • A false "missing required packages" error on a perfectly good install. The check compared AppDomain assembly names against the names our asmdefs reference, and those are different questions: com.unity.nuget.newtonsoft-json ships its code as a precompiled Newtonsoft.Json assembly, so the asmdef reference Unity.Nuget.Newtonsoft-Json resolves at compile time while no assembly by that name is ever loaded. It asks the package manager now.

Changed

  • Compiles with no warnings, which the Asset Store expects of a submission.
    • The two from vendored PuerTS (unused catch variable in JsEnv, unused field in PathHelper) are silenced by a csc.rsp beside the vendored asmdef — that assembly only, so our own code keeps every warning it had.
    • The two JsEnv obsolete warnings are suppressed at the two lines that raise them. ScriptEnv is not a rename: JsEnv's constructor checks the native papi version and calls PuertsNative.SetLogCallback, which is what puts a JS console.log or exception into Unity's Console. Constructing a ScriptEnv directly would trade a warning for silent JS errors.