@Lossius
You should try the final release, which is discussed in the official release-thread:
https://forum.cockos.com/showthread.php?t=214539
If the problem persists, write me a bug-report over there and I'll try to fix it.
To get a TrackStateChunk of a track in the current project, you can safely use this function:
https://mespotin.uber.space/Ultrasch...nk_Tracknumber
Just pass over the tracknumber, with 1 for the first, 2 for the second, etc.
If you want to have the MasterTrack, pass 0 as tracknumber.
Edit: I think I see the problem, which is probably a problem in my code, which I'll fix. But if you follow my instructions above, this shouldn't be a problem for you.