"Failed to create prefab instance". How to use it correctly? #1112
Unanswered
Eugeny335
asked this question in
General Questions
Replies: 1 comment
-
You can't provide an absolute path to it, it needs to be relative to the game directory. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Who can tell you how to properly spawn enemies in Resident Evil 4, outputs "Failed to create prefab instance." to the console. Maybe someone has already encountered something similar and can tell me, I will be very grateful
using _;
using REFrameworkNET;
using via;
public class PrefabCache
{
public static Dictionary<string, Prefab> prefabs = new Dictionary<string, Prefab>();
}
public class EnemySpawner
{
private List prefabList;
}
public class Prefab
{
public ManagedObject prefabManagedObject;
}
Beta Was this translation helpful? Give feedback.
All reactions