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
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
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.