Hi Joel,
No, I didn't create my own ES3Type for GameObject.
Best regards,
Gabriel Jacintho
Search found 7 matches
- Tue Apr 09, 2024 12:12 pm
- Forum: General Discussion
- Topic: Error when using reader.ReadInto<GameObject> inside an ES3Type
- Replies: 7
- Views: 1468
- Mon Apr 08, 2024 6:04 pm
- Forum: General Discussion
- Topic: Error when using reader.ReadInto<GameObject> inside an ES3Type
- Replies: 7
- Views: 1468
Re: Error when using reader.ReadInto<GameObject> inside an ES3Type
Hi Joel,
Yes, I modified the ES3Type to use my pooling system: Best regards,
Gabriel Jacintho
Yes, I modified the ES3Type to use my pooling system: Best regards,
Gabriel Jacintho
- Mon Apr 08, 2024 3:55 pm
- Forum: General Discussion
- Topic: Error when using reader.ReadInto<GameObject> inside an ES3Type
- Replies: 7
- Views: 1468
Re: Error when using reader.ReadInto<GameObject> inside an ES3Type
Hello Joel, Just to clarify, the SpawnPoint script is a child of Spawner script. Spawner.cs ES3UserType_Spawner.cs SpawnPoints.cs This is the error: NotImplementedException: Self-assigning Read is not implemented or supported on this type. ES3Types.ES3Type.ReadInto[T] (ES3Reader reader, System.Objec...
- Thu Apr 04, 2024 7:34 pm
- Forum: General Discussion
- Topic: Error when using reader.ReadInto<GameObject> inside an ES3Type
- Replies: 7
- Views: 1468
Error when using reader.ReadInto<GameObject> inside an ES3Type
I generated a ES3Type to a ObjectFactory script called "Spawner" and modified the script to use my pooling system when loading the instances previously instantiated by Spawner. But, when I try to use the method reader.ReadInto<GameObject>, I receive a error saying "Self-assigning Read...
- Thu Apr 04, 2024 5:49 pm
- Forum: General Discussion
- Topic: How to save/load a list of instances (GameObject) in an ES3ComponentType?
- Replies: 4
- Views: 1053
Re: How to save/load a list of instances (GameObject) in an ES3ComponentType?
Okay, thank you for the explanation! My goal was to make this without a save key, but I made with ES3.Save and it worked!
- Wed Apr 03, 2024 6:33 pm
- Forum: General Discussion
- Topic: How to save/load a list of instances (GameObject) in an ES3ComponentType?
- Replies: 4
- Views: 1053
Re: How to save/load a list of instances (GameObject) in an ES3ComponentType?
Hello Joel, nice to meet you and thanks for your fast response! I did exactly what you said and the script is still receiving a list with null items :cry: ES3UserType_Spawner.cs When I save the game and load again it works, but if a close the game and reopen, the load return a list with null items. ...
- Wed Apr 03, 2024 12:40 pm
- Forum: General Discussion
- Topic: How to save/load a list of instances (GameObject) in an ES3ComponentType?
- Replies: 4
- Views: 1053
How to save/load a list of instances (GameObject) in an ES3ComponentType?
Hello, :D I tried to create an ES3ComponentType that would save a list of GameObjects (instances) and load it, but I noticed that after I close and open the game again the list is loaded with null spaces. And yes, prefabs have the ES3Prefab component. Is it possible to do what I'm trying to do? My g...