Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] False positive error log entry (loading persistent states) #283

Open
gwizdek opened this issue Sep 24, 2024 · 1 comment
Open

[BUG] False positive error log entry (loading persistent states) #283

gwizdek opened this issue Sep 24, 2024 · 1 comment

Comments

@gwizdek
Copy link

gwizdek commented Sep 24, 2024

Describe the bug
Game: System Shock Remake.

I'm getting log errors:
[2024-09-24 20:57:35.999] [UnrealVR] [error] [UObjectHook.cpp:1128] [UObjectHook] Malfomed JSON file (missing path or state)

When loading persistent state of properties type object. I assume there is no state property in json file, so the error is triggered.
I've got a strange feeling that sometimes object states are not loaded, but most of the time they are propertly loaded despite error log entry.

[2024-09-24 20:57:35.998] [UnrealVR] [info] [UObjectHook.cpp:1177] [UObjectHook] JSON file contents:
[2024-09-24 20:57:35.998] [UnrealVR] [info] [UObjectHook.cpp:1178] {
    "hide": false,
    "hide_legacy": false,
    "path": [
        "Acknowledged Pawn",
        "Components",
        "SceneComponent LookPivot",
        "Properties",
        "RelativeLocation"
    ],
    "properties": [
        {
            "data": 0,
            "name": "Z"
        },
        {
            "data": 0,
            "name": "Y"
        },
        {
            "data": 0,
            "name": "X"
        }
    ],
    "type": "properties"
}
[2024-09-24 20:57:35.998] [UnrealVR] [info] [UObjectHook.cpp:1125] [UObjectHook] inside deserialize_mc_state
[2024-09-24 20:57:35.998] [UnrealVR] [error] [UObjectHook.cpp:1128] [UObjectHook] Malfomed JSON file (missing path or state)

To Reproduce
Create persistent state for object property

Expected behavior
No errors in log file.

@gwizdek
Copy link
Author

gwizdek commented Sep 24, 2024

Version
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant