Creating a variable of a VRC Unity Video Player by dragging into the graph completely wipes it
complete
IgbarVonSquid
Using Udon graphs, if you try to drag and drop in a VRC Unity Video Player component to create a variable then the graph will get complete wiped. All nodes and variables are deleted and can't be recovered. The console error is attached at the bottom.
Note that if you manually make the public variable yourself using BaseVRCVideoPlayer you can then put the VRC Unity Video Player into the slot and it will work without issue.
Photo Viewer
View photos in a modal
Log In
Momo the Monster
marked this post as
complete
Fixed - dragging in a component with an unsupported variable type will now log an error into your console and prevent you from dropping the variable onto the graph. It would be nice to automatically make a BaseVRCVideoPlayer variable when you try to drag in in a Unity/AVPro Video player, but that's a separate issue.
Momo the Monster
Merged in a post:
Dragging a TextMesh component onto graph makes graph unusable and unrecoverable
Joker is punk
[VRCSDK3-WORLD-2021.01.28.19.07_Public]
see this video: https://youtu.be/OAFfr6h8S24
- Create a graph with some nodes
- Open an object with a TextMesh component in the Inspector
- Click TextMesh component and drag it onto the graph
expected: new public variable is created of the TextMesh type and a variable getter is created on the graph
actual: all nodes disappear and graph becomes unusable and unrecoverable
Tried reloading, copying the program asset, Ctrl+A to select all and paste, restarting Unity editor.
The graph remains blank, but the assembly code still appears to reflect the contents of the graph (see attached image)
error entries https://pastebin.com/rTv8Z665
Photo Viewer
View photos in a modal
Momo the Monster
Note that when this happens due to dragging a component into the graph, you can usually recover your graph by pressing Ctrl+Z to undo that action.
Joker is punk
update: Using Ctrl+Z right after the graph disappears will fix this