4 Way Mirror has Copy/Paste Bug in the Official Beta

The plugin scripting bug appears in the official build and I think its connected to the mirror. Using the 4 way mirror, manually spin it, copy what is generated several times. You are no longer able to manipulate/interact with it. Once the entire sketch was deleted, you could no longer paint.
76 Replies
Zandy
Zandy•7mo ago
It seems its the animated brushes with the mirrors that trigger it, not the reg brushes.
andybak
andybak•7mo ago
Can you name a brush where it definitely happened? I don't want to test it on any animated brush and then later discover it's only some of them! Better if you say "I tested with this specific brush and it had the bug"
Zandy
Zandy•7mo ago
Waveform f
andybak
andybak•7mo ago
@Zandy Here's what I did: 1. Switched Steam to the official (non-beta, main) release and launched it 2. Turned on the double mirror and spun it 3. Painted with "Waveform FFT" 4. Selected the strokes 5. Hovered over them and pressed the duplicate button multiple times. 6. Tried to select the copies. It seems to work Then I thought maybe you were using the other form of "copy" where you are holding the selection and pressing A ("Stamp mode"). I tried that as well and that seems to work. Any pointers on what to do to see this bug? i.e. suggestions of other things that might trigger that that I didn't do here?
Zandy
Zandy•7mo ago
Its the official beta version (oculus) #2-6 is correct. I did use the stamp mode copy on rt controller. I can try and record it happening if you'd like
andybak
andybak•7mo ago
The beta doesn't have double mirror - does it happen with multimirror?
Zandy
Zandy•7mo ago
yes its the top panel 4 way
andybak
andybak•7mo ago
and oculus store - not steam?
Zandy
Zandy•7mo ago
correct
andybak
andybak•7mo ago
i'll try that (ps - isn't the steam version less buggy with the disappearing controllers?)
Zandy
Zandy•7mo ago
If you want me to submit vids to the bugs in the future just let me know
andybak
andybak•7mo ago
no - i prefer words - i just need to nail the exact steps to reproduce sometimes videos are hard to follow
Zandy
Zandy•7mo ago
Don't have any issues with the controllers unless I move the HMD off my face even slightly
andybak
andybak•7mo ago
yeah - that's the bug i was thinking of. seems to happen to some people a lot also moving outside the guardian i think?
Zandy
Zandy•7mo ago
that and the app not shutting down. I should use steam more TBH never had that happen I hardly use the radial menu with the top button on the right side unless its to pin something and hear the boiiiiiiing sound 😉
andybak
andybak•7mo ago
hmmmm. still not happening on the oculus store beta for me...
Zandy
Zandy•7mo ago
hang on let me give it sa go again
andybak
andybak•7mo ago
i wonder if there's something very specific you do that triggers this bug. any guesses? we might have to resort to a video after all! 😆
Zandy
Zandy•7mo ago
would having plugins from the experimental in the OB folders trigger this?
andybak
andybak•7mo ago
no - they won't be even read in
Zandy
Zandy•7mo ago
ok give me about 20-30min I'll post a vid
andybak
andybak•7mo ago
thanks!
Zandy
Zandy•7mo ago
ok sending you a dm of the vid. Make sure you rebrush after you copy. You'll see I can no longer grab or rebrush part of it. Sorry for the bright color....should have dropped it a bit....just throw on some music...lol
andybak
andybak•7mo ago
ah! i missed the rebrush part
Zandy
Zandy•7mo ago
I really think this may be affecting the experimental build as well with plugins behaving badly
andybak
andybak•7mo ago
1. Switch Steam to the official (non-beta, main) release and launch it 2. Turn on the double mirror and spin it 3. Paint with "Waveform FFT" 4. Select the strokes 5. Grab them and press the duplicate button to stamp copy so - where does the rebrushing happen?
Zandy
Zandy•7mo ago
6. rebrush and select
andybak
andybak•7mo ago
do i paint with waveform fft? or paint with something else and rebrush to fft?
Zandy
Zandy•7mo ago
rebrush again and select....you'll hit it then. May have to do it a couple of times start with waveform but it did happen with keijiro too...a lot of the animated ones trigger it paint with waveform FFT first You'll see it in the vid
andybak
andybak•7mo ago
1. Launch Oculus beta 2. Turn on the double mirror and spin it 3. Paint with "Waveform FFT" 4. Select the strokes 5. Grab them and press the duplicate button to stamp copy 6. Rebrush to any other brush type. 7. Repeat a few times 8. Try to select how's that?
Zandy
Zandy•7mo ago
perfect. erase will not work, grab will not work and only part of the duplicates will change, not all (looks like 1/2 though)
andybak
andybak•7mo ago
does it matter what i rebrush to? i just tried and rebrushed 4 or 5 times and it seems ok let me watch your vid for any clues
Zandy
Zandy•7mo ago
didnt matter for me Did you try and grab after a rebrush? It will only grab half.
andybak
andybak•7mo ago
yeah. just watching your vid too what you did different - might not be significant but you duplicated all the copies in one place and i spread mine out. then you did something i can't quite make out where you select and throw away some stuff?
Zandy
Zandy•7mo ago
is your mirror still spinning as well?
andybak
andybak•7mo ago
no - that was another difference
Zandy
Zandy•7mo ago
only part of the brush strokes would select
andybak
andybak•7mo ago
i'll try that - just trying to see what you're doing exactly
Zandy
Zandy•7mo ago
oh forgot to mention, if you duplicate and rebrush part of the duplicate it will attach to part of the original for a selection. So for example if you were to delete part of the second copied one, part of the original would be selected to. Its really weird
andybak
andybak•7mo ago
so i'm still trying to find the simplest steps that reproduce the problem your vid is great but there's a lot going on
Zandy
Zandy•7mo ago
It seems like only half is rebrushed and can be selected
andybak
andybak•7mo ago
when i try and do what you do, i can't really see what's happening coz i end up with too many strokes i can't get it to the point where i can't select stuff. i.e. "select all" always works it seems to take a while to select manually but i'm not sure coz at that point i have 1000 strokes and a spinning mirror!
Zandy
Zandy•7mo ago
But it also seems to make more copies than you create...the amount I throw away is more than what was copied
andybak
andybak•7mo ago
yeah
Zandy
Zandy•7mo ago
dont use select all
andybak
andybak•7mo ago
oh wait! you've got the mirror on when you stamp dup
Zandy
Zandy•7mo ago
yes
andybak
andybak•7mo ago
so first time you draw if the mirror is set to 6 copies - you get 6 strokes if you select them and stamp - you get 6x6 strokes so you're stamping 36 strokes each time
Zandy
Zandy•7mo ago
ahhhhhh ok but why cant I select them? Only half seem to
andybak
andybak•7mo ago
so maybe the but is as simple as "it's hard to select when there's too many overlapping strokes"
Zandy
Zandy•7mo ago
No....they are dead strokes
andybak
andybak•7mo ago
hmmmm
Zandy
Zandy•7mo ago
because even when I get to that point I cant select all
andybak
andybak•7mo ago
i need to get that to happen then
Zandy
Zandy•7mo ago
gotta fly but will be around in about an hr or two. If you need anything else just ping me. Hope this was helpful
andybak
andybak•7mo ago
if you ever get a simpler case where this happens let me know. i'll keep playing but it's still not happening how many times did you stamp copies in your video?
Zandy
Zandy•7mo ago
4-5
andybak
andybak•7mo ago
and what was the "throwing away" bit - is that key?
Zandy
Zandy•7mo ago
Yes could only select a few copies… when I rebrush I can select more but not all
andybak
andybak•7mo ago
i notice that when you rebrush - you're waving your hand a lot faster than i do. do you always do it that way? i tend to move my hand slowly around the cluster of strokes
Zandy
Zandy•7mo ago
No I was showing I couldn’t select anything or grab anything. I’m not that wild lol 🤣
andybak
andybak•7mo ago
ok. just trying to find things that might make this easy to reproduce (the way the selection/rebrush works - fast movement will often miss strokes)
Zandy
Zandy•7mo ago
Even slow doesn’t work
andybak
andybak•7mo ago
right - i think i know what's happening. the 36 strokes you get by stamping 6 strokes to a 6-way mirror isn't the end of it I think there's a bug with stamp cloning (that doesn't happen with the other duplicate method - the one when you don't hold on to the selected strokes) and it's probably duplicating the 36 another 6 times (216 strokes) and so on. because my pc is getting way slower than you'd expect just by duplicating 36 strokes a few times. i'm going to add an easy way to view the total number of strokes in the scene to test this hypothesis - but the code for stamp duplicates has been a source of pain in the past so it's a likely culprit
Zandy
Zandy•7mo ago
Do you think that may be the cause of the bugs in the experimental build since it also generates multiple brush strokes?
andybak
andybak•7mo ago
the issues's i'm thinking about are specific to selecting and stamp/duplicating So - from what I can tell all the issues are related to stamping or duplicating a selection while Multimirror is active. I'll need to fix this but in the meantime you can just avoid duping with a mirror. The first duplication seems to be ok. But multiple dups start getting weird. Lots of extra strokes and they are in the wrong place. @Zandy
Zandy
Zandy•7mo ago
ok sounds good.....Thanks for checking it out.
andybak
andybak•7mo ago
thanks for finding the bug.
Zandy
Zandy•7mo ago
@andybak Not sure if you passed this part of the bug by as well but thought I'd link it...not sure if its related. https://discord.com/channels/783806589991780412/1175139556790640671/1175476394965352613
andybak
andybak•7mo ago
I either need to fix this first or i need steps to replicate that that don't involve multimirror duping. There's too much complexity with this bug to begin figuring out another issue that may or may not be related.
Zandy
Zandy•7mo ago
Hopefully it will sort itself out when the original posted bug is fixed.
andybak
andybak•7mo ago
We just merged a fix to beta that hopefully resolves some of the underlying issues. To clarify - I've fixed issues with duplicating selected brush strokes while the multimirror is active. Both duplication modes were buggy - the one where you click while hovering over a selected stroke and the one where you're holding it ("Stamp mode") There's still a known issue duplicating strokes when the copy is mirrored (i.e. flipped rather than just merely translated or rotated) but that's out of scope for this. In these cases the stroke is omitted for all copies that are flipped in any axis.
Zandy
Zandy•7mo ago
Thanks for addressing this Andy! Ughhh still an issue. Encountered it with multi as well as rebrush/erase not working. merged models imported also generated issues where certain brush strokes werent grabbable.
andybak
andybak•7mo ago
I never claimed to be fixing all bugs - just the one where we managed to establish clear steps to reproduce. Rinse and repeat...
Zandy
Zandy•7mo ago
Just letting you know like you wanted me to.
andybak
andybak•6mo ago
Of course. If you can help me nail down the next one as well 🙂 Closing this as we solved the part that we figured out how to reproduce. Please create a new post if you manage to reproduce any more related bugs.