Quantcast
Viewing all articles
Browse latest Browse all 9990

Linker task graph cycle causes engine crash

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Summary

When there’s a reference cycle in verse code (members referencing eachother), it causes the engine to crash.

Steps to Reproduce

Create classes referencing each other in members.

Expected Result

Cycles should either not be an issue (hopefully in future?), or at least just become a compiler error instead of a full on engine crash.

Observed Result

Engine crash with following in the log:
[2024.05.09-16.49.38:971][869]LogSolarisIde: Error: —/Content/Verse/VerseBedwars/Base/shop_gui.verse(488,21, 502,3): Script Error 9000: Linker task graph contains a cycle:
—/Content/Verse/VerseBedwars/Base/shop_gui.verse(30,14, 486,3): Verse compiler info: Unable to assemble shop_gui (CDO instantiation, etc.).
—/Content/Verse/VerseBedwars/Base/base_device.verse(20,32, 82,3): Verse compiler info: Unable to assemble klombo_base_device (CDO instantiation, etc.).
—/Content/Verse/VerseBedwars/Base/Purchases/teleporter_upgrade.verse(14,27, 118,3): Verse compiler info: Unable to assemble base_purchase (CDO instantiation, etc.).
—/Content/Verse/VerseBedwars/Base/Purchases/teleporter_upgrade.verse(120,33, 133,3): Verse compiler info: Unable to assemble teleporter_purchase (CDO instantiation, etc.).
—/Content/Verse/VerseBedwars/Base/shop_gui.verse(488,21, 502,3): Verse compiler info: Unable to assemble purchase_config (CDO instantiation, etc.).

Platform(s)

PC

Additional Notes

It would be useful in future if this error was shown in the crash log, or at least to direct users toward these logs as I think this would help us figure out causes for crashes in future.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 9990

Trending Articles