So this have been itching at me for a while. I’m not sure if it is intentional or not but I figure I will through it at you.
There are 2 different behaviors when copying a prim path to clipboard depending on where you do it from.
From the stage context menu when you right click on a prim it acts as intended.
When you copy the prim path from the properties panel it adds a new line char to the end.
so i tracked down where it was coming from.
[your omniverse install location] \pkg\create-2023.2.0\extscache\omni.kit.property.usd-3.21.9+dd92291b\omni\kit\property\usd\prim_path_widget.py
line 271
I just added a strip to the return value and bob;s your uncle.
Just wounding if this functionality was intentional.
if not I hope I helped :)