Search found 14 matches
- Mon Jul 10, 2023 5:02 pm
- Forum: General Discussion
- Topic: Bug: GetFiles
- Replies: 1
- Views: 380
Bug: GetFiles
Hi, after updating to latest I believe there is a bug in ES3IO.cs file. On function GetFiles() you've added this note and a call to GetDirectoryPath(). // Note: Paths not ending in a slash are assumed to be a path to a file. // In this case the Directory containing the file will be searched. Sounds ...
- Tue Jun 29, 2021 10:32 pm
- Forum: General Discussion
- Topic: ES3 Save Base and Concrete Classes
- Replies: 5
- Views: 1138
Re: ES3 Save Base and Concrete Classes
I've pmed you a copy of my test project showing the issue I'm having. Your example saved the component directly while I'm exclusively saving prefabs with ES3. Perhaps this is a problem? Let me know if I need to rethink how I'm tackling this.
- Fri Jun 18, 2021 4:35 pm
- Forum: General Discussion
- Topic: ES3 Save Base and Concrete Classes
- Replies: 5
- Views: 1138
Re: ES3 Save Base and Concrete Classes
Is it a problem that I'm using ES3UserType's for both classes? I've set one up for the base and the derived class and seen how the derived UserType will get reached but not the base. I can see this being useful if I wanted to control each derived class by itself but I'd love for the base to handle a...
- Tue Jun 15, 2021 4:24 pm
- Forum: General Discussion
- Topic: ES3 Save Base and Concrete Classes
- Replies: 5
- Views: 1138
ES3 Save Base and Concrete Classes
Is it possible to have ES3 save both a base class and the inheriting class at the same time? Example public class Mine : Building Should I be able to save the Mine and the Building without having to go through each building type and have them include the properties from the base class I want to save...
- Tue Mar 09, 2021 10:42 pm
- Forum: General Discussion
- Topic: Messing up references when regenerating prefabs
- Replies: 19
- Views: 4649
Re: Messing up references when regenerating prefabs
Take your time, no reason to rush as I'm working great with the recommendations I made. Took me 3 months to find the time to sit down and really dig into ES3 for a weekend so I get it. This fix should help anyone who like me loves ES3 but would rather drive the save/load code manually through the us...
- Mon Mar 08, 2021 1:25 am
- Forum: General Discussion
- Topic: Messing up references when regenerating prefabs
- Replies: 19
- Views: 4649
Re: Messing up references when regenerating prefabs
I have figured out where things are breaking. It is a defect and I think with some tiny changes you'll be able to get this working for me and anyone affected in the future. I'm working with a slightly modified version of your stuff now and it's fixed my remaining issues related to modified prefabs b...
- Mon Jan 25, 2021 1:10 am
- Forum: General Discussion
- Topic: Messing up references when regenerating prefabs
- Replies: 19
- Views: 4649
Re: Messing up references when regenerating prefabs
Hi Joel, thanks for taking a look. Were you able to repro that your suggested solution fixes my issue here? I'm still reproducing my prefab modification issues even while removing nulls and invalids from the reference manager. The method I'm using is ES3ReferenceMgr.Current.RemoveNullValues() as of ...
- Tue Jan 19, 2021 6:55 pm
- Forum: General Discussion
- Topic: Messing up references when regenerating prefabs
- Replies: 19
- Views: 4649
Re: Messing up references when regenerating prefabs
Oh I'm also not saving children of these prefab objects. I'm not sure if that's part of my modified prefab problem but it seems like a waste to save out the entire contents if I don't need to.
- Tue Jan 19, 2021 6:53 pm
- Forum: General Discussion
- Topic: Messing up references when regenerating prefabs
- Replies: 19
- Views: 4649
Re: Messing up references when regenerating prefabs
I've had the checkbox checked. What I was seeing that steered me this direction was in ES3Prefab ApplyReferences the if(localToGlobal.TryGetValue) bit was never returning true for my world objects. I noticed these localRefs are built when running the game and figured maybe my scene changing was caus...
- Tue Jan 19, 2021 6:32 pm
- Forum: General Discussion
- Topic: Messing up references when regenerating prefabs
- Replies: 19
- Views: 4649
Re: Messing up references when regenerating prefabs
After a lot of head scratching I've finally found in another thread where you need to copy/paste the ReferenceManager between scenes. My game requires going through a main menu. Anyway with that copy/pasted manager the parenting transforms issue doesn't seem to be a problem anymore as the parent wil...