I'll add my two cents here since I was also hitting this.
It was giving me this error (which I think was a false positive) simply because I wasn't encoding the data correctly.
I was trying to encode using a JSONEncoder when I should have been using a PropertyListEncoder.
Here is a working code snippet:
let encoder = PropertyListEncoder()
let data = try encoder.encode(self.gameData)
let savedGame = try await player.saveGameData(data, withName: "game.data")
Topic:
Graphics & Games
SubTopic:
GameKit
Tags: