Search Issue Tracker
Third Party Issue
Votes
0
Found in
2022.3.18f1
Issue ID
UUM-62260
Regression
Yes
Dedicated Server build fails when using Entities package
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the Build Settings window (File > Build Settings)
3. Switch to the Dedicated Server platform
4. Build the project
Expected result: The project builds
Actual result: Build fails with compiler errors thrown in the Console window
Reproducible with: 2022.3.16f1, 2022.3.18f1
Not reproducible with: 2022.3.15f1
Couldn’t test with: 2021.3.34f1, 2023.2.6f1, 2023.3.0b4 (due to compilation errors)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
Resolution Note:
Unity does not support serializable types that have different fields for Editor vs Player. There were some cases previously where the Editor didn't warn properly about violations to that rule and there was recently a fix for it that seems to expose the following issue in the com.ourpalm.ilruntime package:
In this case, there is a type "RegisterFrameInfo" that contains a field with a type that can be "List<object>" when DEBUG define is active or "UncheckedList<object>" when it's inactive.
Please notice that the former is not serializable while the latter is. So it looks like Editor is using DEBUG while the build is not, causing RegisterFrameInfo being serialized differently in Editor vs Player.