01-11-2021, 10:47 PM
Hi, a small update about this. I think I got a bug with prefabs.
When I tested this, I tested on prefabs that where in the scene. I added a FSM to each to see if it worked and when it did I saved the prefabs and deleted them from the scene. Since adding and modifying FSM's on hundreds of prefabs would be silly, I changed the FSM to a template and added it to the prefabs.
That worked, except the on the once I saved from the scene earlier. No matter what I do, the proxy script on those will not work and say it's not implemented on target. It doesn't matter if I delete the script and the FSM, it wont work.
Well it can, but to make it work I can't use template FSM's on those initial prefabs, only default FSM's. The rest, that never were in the scene, work fine and are recognized by the proxy script.
When I tested this, I tested on prefabs that where in the scene. I added a FSM to each to see if it worked and when it did I saved the prefabs and deleted them from the scene. Since adding and modifying FSM's on hundreds of prefabs would be silly, I changed the FSM to a template and added it to the prefabs.
That worked, except the on the once I saved from the scene earlier. No matter what I do, the proxy script on those will not work and say it's not implemented on target. It doesn't matter if I delete the script and the FSM, it wont work.
Well it can, but to make it work I can't use template FSM's on those initial prefabs, only default FSM's. The rest, that never were in the scene, work fine and are recognized by the proxy script.