0
Fixed

Scene references are allowed in macro via drag & drop

babywka 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 6

Hi! 

unity 2018.1 .net 3, bolt v1.4 stable from 13.07 

When I move gameobject to the graph everything is working fine, but after unity close and open project the graph it's loosing reference to the object

here is video, sorry it's so long, but I can't describe it clearly

https://drive.google.com/file/d/1efsDEtzR4EbzhCFguf_wLz2XZrLckrY6/view?usp=sharing

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
GOOD, I'M SATISFIED
Satisfaction mark by babywka 2 years ago

also can be reproduced in last bolt version .net4

btw, if this approach is bad for a performance and graph variables are better -- it's would be nice to hear it)

Pending Review

Hi babykwa!

Is that Player graph a macro? If so, it does not support scene references (e.g. player). That is a Unity limitation: assets cannot refer to scene objects, because they might be loaded in other scenes.

The dropdown code shouldn't let you do that in the first place, so I'll have another look at it.

But in the mean time, you should store your player reference in an object variable!

so maybe don't enable this possibility for the macros? that's misunderstanding

+1
Working on Fix

I agree, that's exactly what I meant when I said:

The dropdown code shouldn't let you do that in the first place, so I'll have another look at it.
Fixed in Next Version

Fixed in v.1.4.0f4