Actually, I think the GetCount() function may be better as sometimes some options are disabled rather than being exhausted - that's my fault for explaining it wrong!
So basically it would check if any visible options are showing and if not it would…
When I don't rely on the menu, it saves the correct data (isPlaying = true/currentFrame =21, for example).
The objectID matches and is correct.
I can't seem to figure it out so I've switched to an autosave method which I've set to force a scene re…
Hi Chris and thanks for the reply.
Yes, the RenderTexture is displayed as an image component of the Canvas.
The Remember Video Player component has Retain in prefab checked.
It wasn't originally an AC menu - the prefab was in each scene - but I'v…
Absolutely excited about a potential Unreal port! I wanted to use Unreal for my next project so we could take care of Xbox One's GDK without having to pay a Pro licence for Unity.
Having an Unreal port of AC would be an absolute dream come true for…
Hey Chris - Here's the requested video component screenshot:
(Image)
Thanks for looking into it. As I make FMV games, having this fixed would eliminate those awkward black frames as it attempts to load and play the next video.
I've literally just tried setting the FileFormatHandler to JSON again and now it's suddenly started working?! I'm not complaining! I'll put it down to a cache issue on Microsoft's side. But yep, it's now downloading the save game data from the cloud…
Here's the complete string that's being uploaded and loaded from Xbox Cloud:
https://jpst.it/33chL
I'm not sure if it's all correct as it seems to be looking slightly corrupted towards the end?
I've tried binary and JSON but still get the 'Object reference not set to instance of an object' when using
SaveSystem.AssignVariables (saveData.mainData.runtimeVariablesData, false);
after the load :neutral:
I think I've worked out what's happening.
AC converts the string into an XML. The Xbox code then converts that XML to a byte array for the 'data'. Then, when it's reloaded, it's decompressing the ENTIRE byte/XML (the original ACdata string) so ther…
Upon checking, I get the 'Object reference not set to instance of an object' when using the second line:
SaveSystem.AssignVariables (saveData.mainData.runtimeVariablesData, false);
Any ideas how this could be fixed?
So my string containing all of the dataToSave data is called ACdata. So am I correct in assuming I can call, from my third-party script:
string ACdata = Encoding.ASCII.GetString(ACDataByte); //converts the loaded byte back to a stringSaveSystem.Ass…