DDS crashes when compiling codes without a unit

Which products are affected?
ESP-DDS2-x (Global Drive PLC Developer Studio V2.2)

What happens?
The following warning is indicated when compiling a DDS project:

Warning 2903: A user code is using an unknown unit: <>

DDS crashes after the compiling process has been finished.

When does the problem occur?
The response described above may occur if the DDS version 2.2 is used to open and compile a project which was created with an older DDS version.

Possible diagnostics?
None.

Short-term measures/recommendations?
Open the DDS project and use the Instance Parameter Manager (register card: Resources) to assign a new unit to every code generated there.
For this, select a code and open the menu item Insert>Edit object. Select the unit desired from the selection list offered by the 'Unit' field and click on <OK> to confirm the entry. Save the project afterwards. The warning mentioned above does not occur any longer and DDS does not crash anymore when compiling the project.

Activate the Auto Save option in the Load&Save category of the menu item Project>Options. As a result, DDS automatically saves the project in a temporary file according to the Auto Save Interval set. When reopening the project after a crash, DDS offers to open the last backup file of the project.

Evaluation:
DDS may crash when using DDS V2.2 to compile a project which was created with a previous DDS version. This crash only rarely occurs. All modifications made since the project was last saved will get lost when DDS crashes (see short-term measures).

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200413521/1/
Kontaktformular