Unoptimized array of union does not advance position and crashes 010 Editor if followed by variable declaration

union {
	uint32 x;
} u[2];

This works as expected, with the position of u[0] being 0x0 and u[1] being 0x4.

union {
	uint32 x;
} u[2] <optimize=false>;

This does not work as expected, with the positions of u[0] and u[1] being 0x0.

union {
	uint32 x;
} u[2] <optimize=false>;
uint32 x;

This causes 010 Editor to crash immediately after running the template.

Thanks for your bug report. We are currently working on a fix and we’ll let you know when we have something for you to try.

Graeme
SweetScape Software

Fixes for these issues should be available in 010 Editor v16. You can try out the beta here: 010 Editor - Beta Release

Graeme
SweetScape Software