Hello,
Last question, since your saving relies on AssetDatabase.Refresh(); How can you build a standalone client? Since that function is editor based?
Search found 4 matches
- Thu Jul 30, 2020 10:02 am
- Forum: General Discussion
- Topic: .byte files saved from scriptable object not working...
- Replies: 5
- Views: 1601
- Thu Jul 30, 2020 9:31 am
- Forum: General Discussion
- Topic: .byte files saved from scriptable object not working...
- Replies: 5
- Views: 1601
Re: .byte files saved from scriptable object not working...
Hello Joel,
Sorry I was running over it to ensure that I wasn't making a stupid mistake. I have that running now. I saved a specific type. Then loading to a generic. So stupid, thanks for the lightbulb moment.
Sorry I was running over it to ensure that I wasn't making a stupid mistake. I have that running now. I saved a specific type. Then loading to a generic. So stupid, thanks for the lightbulb moment.
- Thu Jul 30, 2020 8:50 am
- Forum: General Discussion
- Topic: .byte files saved from scriptable object not working...
- Replies: 5
- Views: 1601
Re: .byte files saved from scriptable object not working...
Hello,
Thanks for the swift reply. I will send the code in 15mins.
Not at the computer currently. But I am pretty sure I tried doing a specific type then couldn't so I done a generic type then cast into a specific but that still didn't working.
Thanks for the swift reply. I will send the code in 15mins.
Not at the computer currently. But I am pretty sure I tried doing a specific type then couldn't so I done a generic type then cast into a specific but that still didn't working.
- Wed Jul 29, 2020 11:53 pm
- Forum: General Discussion
- Topic: .byte files saved from scriptable object not working...
- Replies: 5
- Views: 1601
.byte files saved from scriptable object not working...
Hello, Long story short I want to save my scriptable objects. I have two types: BasePlayer and BaseItem. (Pretty standard) When I save the item I get a standard .byte file with all the data that is fine. However, when I try load the data into a scriptable object I get an error. Not sure what to mess...