Search Issue Tracker
In Progress
In Progress in 1.1.X
Votes
0
Found in [Package]
1.1.1
Issue ID
UGSB-26
Regression
No
[General] Player throws error when serializing Services Economy config
Reproduction steps:
1. Open the attached “IN-88563_bugrepro” project
2. Build the project for Linux Server
3. Launch the Linux server
Expected results: The server does not throw any errors related to the serialization of service configs
Actual results: The server throws serialization errors
Reproduced with: 1.1.0 (6000.0.18f1)
Error:
{noformat}Failed to deserialize `{"initial":0,"max":0,"created":{"date":"2024-10-29T09:44:26Z"},"customData":null,"id":"BRICKS_TOKENS","modified":{"date":"2024-10-29T09:44:26Z"},"name":"Bricks Tokens","type":"CURRENCY"}` into InventoryItemResource: Newtonsoft.Json.JsonSerializationException: Could not find member 'initial' on object of type 'InventoryItemResource'. Path 'initial', line 1, position 12.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues (Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, {noformat}
To workaround this issue, control the stripping through a link.xml file in your assets folder. Add an entry to preserve the assembly in question:
{noformat}<linker>
<assembly fullname="Unity.Services.Apis" preserve="all">
</assembly>
</linker>{noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment