playMaker

Author Topic: Trying to create an asset bundle action error with instantiate  (Read 533 times)

sofianehamza

  • Playmaker Newbie
  • *
  • Posts: 35
Trying to create an asset bundle action error with instantiate
« on: December 10, 2021, 12:04:12 AM »
hello i am trying to create an asset bundle action but when I change from mono behavior to FsmStateaction I get an error with "instantiate" as shown below



djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Trying to create an asset bundle action error with instantiate
« Reply #1 on: December 10, 2021, 09:14:59 AM »
Hi.
if you hover over Instantiate what error/solution does it give?

If you look to the Create Object action you can see that the instantiate is used differently.

Code: [Select]
var newObject = (GameObject)Object.Instantiate(go, spawnPosition, Quaternion.Euler(spawnRotation));
If you search 'Bundle' on the Ecosystem you will find several asset bundle actions