Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

1M Downloads

Adding a rendering with Chroma Key breaks the recording file on 1.17.1-2.6.0

LindaJuffermans opened this issue ยท 0 comments

commented

Clean install with only Fabric and ReplayMod, setup a timeline and open render settings; enable Chroma Key then Add to Queue > Add current configuration > cancel > Close; exit the Replay Viewer.

Next time the Replay Viewer loads the recordings the recording is missing and this is logged:

java.lang.RuntimeException: Unable to invoke no-args constructor for interface com.replaymod.lib.de.johni0702.minecraft.gui.utils.lwjgl.ReadableColor. Register an InstanceCreator with Gson for this type may fix this problem.
	at com.google.gson.internal.ConstructorConstructor$14.construct(ConstructorConstructor.java:226) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:210) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61) ~[gson-2.8.0.jar:?]
	at com.google.gson.Gson.fromJson(Gson.java:887) ~[gson-2.8.0.jar:?]
	at com.google.gson.Gson.fromJson(Gson.java:852) ~[gson-2.8.0.jar:?]
	at com.replaymod.render.utils.RenderJob.readQueue(RenderJob.java:87) ~[replaymod-1.17.1-2.6.0.jar:?]
	at com.replaymod.replay.gui.screen.GuiReplayViewer$GuiReplayList.lambda$new$3(GuiReplayViewer.java:383) ~[replaymod-1.17.1-2.6.0.jar:?]
	at com.replaymod.lib.de.johni0702.minecraft.gui.element.advanced.AbstractGuiResourceLoadingList$1.run(AbstractGuiResourceLoadingList.java:124) [replaymod-1.17.1-2.6.0.jar:?]
	at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.UnsupportedOperationException: Interface can't be instantiated! Interface name: com.replaymod.lib.de.johni0702.minecraft.gui.utils.lwjgl.ReadableColor
	at com.google.gson.internal.UnsafeAllocator.assertInstantiable(UnsafeAllocator.java:117) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.UnsafeAllocator.access$000(UnsafeAllocator.java:31) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.UnsafeAllocator$1.newInstance(UnsafeAllocator.java:49) ~[gson-2.8.0.jar:?]
	at com.google.gson.internal.ConstructorConstructor$14.construct(ConstructorConstructor.java:223) ~[gson-2.8.0.jar:?]
	... 14 more

renderQueue.json.txt