Skip to content

Type mismatch: Property IntValue.Value should be Int32, but it was Int64 #301

Closed
@ThatTimothy

Description

@ThatTimothy

A bit of background: I've been using Lune to convert over some old files into a more usable file system format rather than arbitrary binary files. It seems like some of my older files aren't able to be deserialized.

I can reopen them and save again, and it seems to work fine after that, but I really don't want to do that another 2,000 times. If this is a non-issue, I totally understand lol. It's a very old file from early 2018.

Lune log with RUST_LOG=trace:

local inputFile = fs.readFile("repo.rbxl")
local game = roblox.deserializePlace(inputFile)
print(game.ClassName)
[TRACE rbx_binary::chunk] Chunk "PROP" (compressed: 24, len: 22, reserved: 0)
[TRACE rbx_binary::deserializer::state] PROP chunk (IntValue.Value, instance type 29, prop type 29
[TRACE rbx_binary::deserializer::state] Known prop, canonical name Value and type Int64, with None migration
Failed to read document from buffer - Type mismatch: Property IntValue.Value should be Int32, but it was Int64

Remodel log with RUST_LOG=trace:

local game = remodel.readPlaceFile("repo.rbxl")
print(game.ClassName)
[TRACE] Known prop, canonical name Tags and type Tags
[TRACE] Chunk "PROP" (compressed: 24, len: 22, reserved: 0)
[TRACE] PROP chunk (IntValue.Value, instance type 29, prop type 29
[TRACE] Known prop, canonical name Value and type Int64
[ERROR] callback error
        stack traceback:
                [C]: in field 'readPlaceFile'
                [string "remodel.lua"]:1: in main chunk
        caused by: Type mismatch: Property IntValue.Value should be Int32, but it was Int64

Repo file: https://github.com/ThatTimothy/rbx-binary-issue-repo/blob/main/repo.rbxl (didn't let me upload directly, sorry)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions