ThinkInvis / RoR2-TILER2

A library mod for Risk of Rain 2.
GNU General Public License v3.0
2 stars 1 forks source link

Sometimes, Modded items that are handled by TILER2 won't load. #13

Closed cheeeeeeeeeen closed 3 years ago

cheeeeeeeeeen commented 3 years ago

Describe the Bug

This one is hard to test as it only sometimes happens. The items will only display the name and description token when the game starts, including the logbook and inventory upon pickup. The item functions also will not work. Item icons are displayed properly.

Expected Behavior

The items should always load properly.

Additional Context

A recent bug report regarding the issue. This issue is reported by EnderGrimm about Supply Drop and Aetherium, which are both dependent on TILER2. https://discord.com/channels/562704639141740588/562711077453037589/770252585411805185

This also happened to the extension of ClassicItems (ChensClassicItems). It was reported to me by DM. Here is a screenshot. Mortar Tube with only a token

I told him to boot up the game, and says it was fine again. The items work. But after a few hours after he boot the game again, he was presnted with the error again. See screenie below: Mortar Tube again

Temporary Fix (It might help identify the problem)

Move T2Module.SetupAll_PluginStart at the bottom of Awake, just below T2Module.SetupAll_PluginAwake.

cheeeeeeeeeen commented 3 years ago

See https://discord.com/channels/562704639141740588/562711077453037589/772002307214016512

This report included items not being loaded from ClassicItems in due to ReinWickedRing. It could be related.

cheeeeeeeeeen commented 3 years ago

https://discord.com/channels/562704639141740588/562711077453037589/773919942370000916

Another report regarding this issue.

ThinkInvis commented 3 years ago

Closing due to inactivity/vagueness -- I've come to understand that this happens whenever an item catastrophically fails to load (which could have a lot of causes), as language setup happens late.