Skip to content

Commit

Permalink
hotfix(1.3.3): errors in build (only) due to UnityEditor-only classes (
Browse files Browse the repository at this point in the history
…#167)

Closes: #166
  • Loading branch information
bdunderscore committed Feb 12, 2024
1 parent 5b6638d commit 9474d8a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

### Fixed

### Changed

### Removed

### Security

### Deprecated

## [1.3.3] - [2024-02-12]

### Fixed
- VRCSDK builds fail due to UnityEditor-only type references (#167)

## [1.3.2] - [2024-02-12]

### Fixed
- Avatar names with leading/trailing whitespace broke builds (#161)
- Ave3mu's "Run Preprocess Avatar Hook" option was force-enabled even when apply on play was disabled (#160)
Expand Down
8 changes: 5 additions & 3 deletions Runtime/NonPersistentConfig.cs
@@ -1,9 +1,11 @@
using UnityEditor;
using UnityEngine;
using UnityEngine;

namespace nadena.dev.ndmf.config.runtime
{
internal class NonPersistentConfig : ScriptableSingleton<NonPersistentConfig>
internal class NonPersistentConfig
#if UNITY_EDITOR
: UnityEditor.ScriptableSingleton<NonPersistentConfig>
#endif
{
[SerializeField] public bool applyOnPlay = true;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "nadena.dev.ndmf",
"displayName": "Non-Destructive Modular Framework",
"version": "1.3.2",
"version": "1.3.3",
"unity": "2019.4",
"description": "A framework for building non-destructive plugins for VRChat Avatar 3.0",
"vrchatVersion": "2022.1.1",
Expand Down

0 comments on commit 9474d8a

Please sign in to comment.