Offsets cannot be recalculated since variable "xxx" has either no type or a wrong type (permanent variables)

Hello,

I have a structure variable that I wish to retain permanently. Certain components of this structure are defined via referenced TYP files from other projects.

Until recently, this has always functioned without issue. However, after incorporating two or three additional referenced files to ensure full coverage, I now encounter the following error message:

Offsets cannot be recalculated since variable “xxx” has either no type or a wrong type

Notably, this issue affects only the .per file. When I remove it, the project compiles without errors and operates flawlessly.

Upon reviewing the referenced TYP files, I find nothing unusual or out of the ordinary within them.

Might anyone have an immediate insight into the origin of this behavior?

The AS version in use is 6.5.1.7.

Thank you all.

Hello,

I have made a small sampe of what you descriped. And is works without issue.

I assume you allready restarted your PC, …
Are the References located at some Network directory with special access or on the local storage?

Greetings
Michael

You’ve experienced that before, haven’t you? A reboot actually did help…

1 Like