0

how can use Variable Type "List of Gameobject"?

tomohisa0513777 1 year ago updated 1 year ago 3

now, I leraning Space Shooter in BOLT examples.

this project use "List of Game Object" type in Graph Variables.

but,  my project  can't it.
It does not come out in the search window.

Bolt Version:
v.1.4.0f1
Unity Version:
2017.4.3.f1
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):

Unity Platform is PC&Mac Can use.

But, Switch Platform to Universal Windows Platform Can't use.

I development VR appli for Windows Mixed Reality.

+3

Bolt arrives with AOT protections turned on.  AOT platforms can't handle open generics like List<T>, so those are culled by Bolt until you tell it to allow them.  Please be aware that turning the AOT protections off will make your game unable to run on these platforms.

In the Ludiq Options (Tools->Ludiq->Configuration), turn off AOT Safe Mode:

Then, use the tools menu again (Tools->Bolt->Build Unit Options) and the nodes should appear.   I have to admit, I've never used the Universal platform, but my understanding is that it handles Generics just fine.

You can get more detail here:

https://support.ludiq.io/knowledge-bases/4/articles/161-building-for-aot-platforms

My problem resolved!

Great thanks!!