Skip to content

Commit 05f2e3d

Browse files
fix: disabling Physics2D or Physics compilation errors (#3422)
This PR resolves the issue where disabling the physics or physics2d package module while leaving the other still enabled could cause compilation issues. ## Changelog - Fixed: Issue where disabling the physics or physics2D package modules could result in a compilation error. ## Testing and Documentation - No tests have been added. (has to be manually tested) - No documentation changes or additions were necessary. <!-- Uncomment and mark items off with a * if this PR deprecates any API: ### Deprecated API - [ ] An `[Obsolete]` attribute was added along with a `(RemovedAfter yyyy-mm-dd)` entry. - [ ] An [api updater] was added. - [ ] Deprecation of the API is explained in the CHANGELOG. - [ ] The users can understand why this API was removed and what they should use instead. --> ## Backport No backport is needed since this is a v2.x specific issue. <!-- If this is a backport: - Add the following to the PR title: "\[Backport\] ..." . - Link to the original PR. If this needs a backport - state this here If a backport is not needed please provide the reason why. If the "Backports" section is not present it will lead to a CI test failure. -->
1 parent 448c38a commit 05f2e3d

File tree

6 files changed

+516
-132
lines changed

6 files changed

+516
-132
lines changed

com.unity.netcode.gameobjects/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
1818
- Fixed inconsistencies in the `OnSceneEvent` callback. (#3458)
1919
- Fixed issues with the `NetworkBehaviour` and `NetworkVariable` length safety checks. (#3405)
2020
- Fixed memory leaks when domain reload is disabled. (#3427)
21+
- Fixed issue where disabling the physics or physics2D package modules could result in a compilation error. (#3422)
2122
- Fixed an exception being thrown when unregistering a custom message handler from within the registered callback. (#3417)
2223

2324
### Changed

0 commit comments

Comments
 (0)