dakuru
01/07/2026, 11:16 AMdakuru
01/07/2026, 11:17 AMJurjen
01/07/2026, 1:13 PMmetaplay init sdk/project a second time after the project has already been initialized. If you happen to have any insights, please do share!
To fix this:
1. Revert Backend/Server/Migrations to the state before the R35 update
2. Run dotnet ef migrations add MetaplayRelease35 as per the [version update guide](https://docs.metaplay.io/miscellaneous/sdk-updates/release-notes/release-35.html#for-all-metaplay-projects)
3. Redeploy your server
Hope this helps, let us know if you run into any further issues!dakuru
01/07/2026, 2:01 PMxxx_InitialCreate.cs and xxx_InitialCreate.Designer.cs) after the migration, one from the previous version, one from the update. After running the schema migration command, xxx_MetaplayRelease35.cs and xxx_MetaplayRelease35.Designer.cs were added and versioned.
When building the server image, I had a duplicate definition exception from the InitialCreate files, so I deleted the first set of files from the previous version, fixing the issue.
Then I had the issue we're discussing when trying to deploy.
Should I keep the 'InitialCreate' set of files from the SDK migration?
Also, I'm no longer able to build the image after moving the diffs to a branch. It seems some files now have crlf line endings and the pnpm install command no longer works. I've joined the error log.
edit: seems solved by simply bruteforcing every line ending from crlf to lf in Backend/ and MetaplaySDK/ folders
https://cdn.discordapp.com/attachments/1458419076262137960/1458460443772321815/log_crlf.txt?ex=695fb8a2&is=695e6722&hm=3069a1727f0c698a356722a7665eebe385ef232c7ef519d5b541bfbd273009ca&dakuru
01/07/2026, 5:15 PMdotnet ef migrations add MetaplayRelease35 command. I now get a new error when starting a local server:
Metaplay.Core.IO.IODecodingError: Byte array larger than remaining input: length=6673241, remaining=6673131)
Note that I've deleted the local Database before starting the server. I've joined the logs
I'm completely out of ideas :<Antti // Metaplay
01/08/2026, 7:09 AMBackend/Server/bin/PrivateBlobStorage/Geolocation and try starting the server again? Rather than just deleting, you could rename that folder to, say, Geolocation_corrupt so that we can inspect the nature of the corruption later..dakuru
01/08/2026, 9:22 AMFailed to register account, Player:MSO8L3Owfe already exists: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'table Players has no column named LifecycleStatus'.
I'm still confused regarding what DB InitialCreate/migration files I should use/keep/discard. I think this is what is causing the latest issue. I'll fiddle with those as much as I can, I've zipped and joined what I'm using right now (so InitialCreate from R34 + MetaplayRelease35).
https://cdn.discordapp.com/attachments/1458419076262137960/1458752618552754242/Geolocation_corrupted.zip?ex=6960c8be&is=695f773e&hm=a9d6f93c6a839f174590e38c4a36476e5d82a0a74f1609cb8455ee8434dde12c&
https://cdn.discordapp.com/attachments/1458419076262137960/1458752619051745471/log_new_player.txt?ex=6960c8be&is=695f773e&hm=ea20be873eb18119f1adf910761728ce0084db3b682f9f75071883496160e96e&
https://cdn.discordapp.com/attachments/1458419076262137960/1458752619425169409/Migrations.zip?ex=6960c8be&is=695f773e&hm=63e1643f4e0adc22d96c8f0426cdba6eaa58448b390d2529a7cf62a15d5c5e82&Antti // Metaplay
01/08/2026, 11:17 AMdotnet ef migrations add has not produced the expected outcome -- could it be that you ran it before the SDK code was updated?dakuru
01/08/2026, 3:16 PMInitialRelease files and rerun the command, having only MetaplayRelease35.cs files + GameDbContextModelSnapshot.cs in the Migration folder, and now the local server worksdakuru
01/08/2026, 3:17 PMdakuru
01/08/2026, 3:26 PM