Moving a unit also selects the area

Nanda 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 11

Since yesterday's update, when I try to drag and drop a unit it also tries to select the area, so when I try to drag a unit it'll get dropped into a 'random' spot almost immediately.

To illustrate what I mean, I've attached a gif:

This only appears to happen in flow graphs. The drag & drop feature in state graphs seems to work just fine.

Thanks for your help!

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Pending Review

Hi Nanda,

Sorry you're having this issue. I can't reproduce it here, neither on Windows nor Mac.

Have you changed anything in the Bolt configuration?


I've attached screenshots of my settings:

The steps I took to produce this issue:
I have a Player object that I wanted to convert to a prefab. I changed the source of the already existing State Machine component to macro by selecting Macro from the dropdown and clicking the Convert button. This didn't work as expected, as 'embed' would be selected as the Source after I clicked the button.
So I manually added the state graph PlayerStateManager to my Macros project folder, added it as a component of the newly created Player prefab.
When editing Flow Graph(s) created from within the State Graph I had created, I noticed the drag/drop/selection issue.
When I edit different flow graphs I can drag and drop the units just fine, but I notice that when I click the prefab (Player, in this case) and try to edit a flow graph, I'm still having the issue (this only happens in the Flow Graph, not the State Graph).

(I also noticed that when I edit the Flow Graph by editing the State Machine's file I am not experiencing the issue)

Here's a gif of this happening:

Thanks for the in-depth report. It seems that the lasso doesn't get cleared when you enter the nested canvas.

Which version of Bolt are you using? I can't reproduce it on my machine, meaning either I fixed it in v.1.2.2, or before in v.1.2.1.


Thanks for your response. I am using version 1.2.1 which, I think, is the latest version?

Hi Nanda,

I still haven't been able to reproduce the issue, but please let me know if it persists in 1.2.2 when it gets released.

Hi Nanda,

Do you still experience this issue in 1.2.2?


Yes, unfortunately I am still experiencing the issue. It happens when I select a game object in my scene and try to edit the macro graph that is loaded automatically when I click the object. When I go to my Macros folder and edit the graph there, I am not experiencing the issue.

Thanks for your help!

Hi Nanda,

I've tried using the exact same settings, window layout, macro setup, OS, and I still can't reproduce it.

I did make some important changes to the input handling in v.1.2.3 Alpha 3, so maybe this fixed it. The alpha 3 should be available soon on: http://ludiq.io/bolt/builds