[Solved] Plugin not working properly in new map, but works fine in older ones

So I made a plugin to create power grids, however I’m running into an issue that I have no idea what causes it nor how to fix it.
The plugin has a “Output mode” function that allows you to connect multiple fixtures to a switch or breaker, it works perfectly fine in my workspace map or when I load the plugin in an older map that didn’t have it, but when I create a new map, the plugin just won’t work properly when I try to use it.

The amount of selected items doesn’t display correctly / takes a few seconds to update and nothing will connect if I have multiple objects selected, which like I said, is not an issue when I load an older map.
I am really confused and I have no idea what to do since I still have to release this plugin.


maybe provide more info as it is impossible to know without taking a deeper look

Found the issue fast enough thankfully, workspace has a property called “SignalBehavior” which is apparently set to “Deferred” by default on new maps. Once set back to default, the plugin started working properly again… I’ll know for next time

image

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.