Skip to content

Commit 0404faf

Browse files
authored
Merge pull request #285 from De-Panther/prerserve_provider_bugfix
Preserve Provider class in build - bug fix
2 parents 97f7405 + f5a1579 commit 0404faf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Packages/webxr/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Changed
1010
- Improve performance.
1111

12+
### Fixed
13+
- Missing Provider class in build.
14+
1215
## [0.16.1] - 2023-05-27
1316
### Fixed
1417
- Issues when using more than one WebXRManager components.

Packages/webxr/Runtime/XRPlugin/WebXRSubsystem.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public class WebXRSubsystem : Subsystem<WebXRSubsystemDescriptor>
3232
#endif
3333
{
3434
#if UNITY_XR_MANAGEMENT_4_3_1_OR_NEWER
35+
[UnityEngine.Scripting.Preserve]
3536
public class Provider : WebXRSubsystemProvider
3637
{
3738
public override void Start() { }

0 commit comments

Comments
 (0)