inkle / inkle/ink

Choice tags are gone after state reloading

Open
#857 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

After saving the state at a choice to JSON and then later reloading the story state from that JSON (in a fresh Story object), there are no tags on the choice objects anymore.

## To reproduce

### Story
```
Hello, world!
* [Make a choice # just some tag]
- Great choice!
```

### Code
![image](https://github.com/inkle/ink/assets/1090485/1f98ef25-1c35-4644-9d47-773c50dbb864)

### Result
![image](https://github.com/inkle/ink/assets/1090485/31377bb4-0baf-450e-9825-99eca4ad833a)

## Expected results
Tag should available on the choice.

## More info
Bug was initially detected using inkjs : https://github.com/y-lohse/inkjs/issues/1022

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.