-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesn't work in latest unreal #10
Comments
I have tried to get this to work with unreal 5.4, using PySide6 6.7.2 and qtpy. I will try roll back to earlier versions of PySide6 and see if that works around the issue |
- Can you also try an older version of unreal?
i haven't tried 5.4 yet. Maybe
it needs some updates.
- I believe pyside 6 released an update to address the bug in their release mentioned in a previous reply.
- Qt.py released an update to support Pyside6
…On Thu, Jul 4, 2024, 10:10 AM Shea Richardson ***@***.***> wrote:
I have tried to get this to work with unreal 5.4, using PySide6 6.7.2 and
qtpy.
Unreal hangs when trying to run _loadUi. Debugging leads to QUiLoader.__init__(self,
baseinstance) in UiLoader.
I will try roll back to earlier versions of PySide6 and see if that works
around the issue
—
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4VRZCPY753W5KKU3E25XTZKUGRXAVCNFSM6AAAAABKLD7XZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBYGQ4DONZVGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
We aren't using Qt.py in our code base anymore, they kind of missed the boat with Qt6 support so we moved on, changing back to Qt.py will be a big undertaking. The crash happens when PySide6 calls I will see if unreal 5.3 works if I get a chance. For now rolling back to earlier versions of PySide6 to see any work. Also grumbling a lot about why people use ui files for production tools instead of just writing code 😭 |
6.6 still hangs Installed Qt.py alongside qtpy and hang still occurs with 6.7 + 6.6. |
i think there is a similar loadUI issue with Blender and PySide6 techartorg/bqt#124 |
possible related issue from 2017 with PySide and Qt.py mottosso/Qt.py#208 |
tried using qtpy instead of Qt.py, still freezes Unreal |
Yeah that makes sense - the error happens on the c++ side. Might be worth raising a bug with Qt/Pyside? The only other way I thought to be able to debug it was compile PySide6 myself to be able to follow the call stack into c++. Not had time to fight that battle though |
i managed to launch it without crashing, when I created py files from the ui file with the command pyside6-uic "D:\Unreal Projects\blueprint\Content\Python\Lib\site-packages\unreal_script_editor\ui\output_text_widget.ui" -o "D:\Unreal Projects\blueprint\Content\Python\Lib\site-packages\unreal_script_editor\ui\output_text_widget.py"
pyside6-uic "D:\Unreal Projects\blueprint\Content\Python\Lib\site-packages\unreal_script_editor\ui\script_editor.ui" -o "D:\Unreal Projects\blueprint\Content\Python\Lib\site-packages\unreal_script_editor\ui\script_editor.py" however it seems i need to edit / update some code too, which is still WIP. |
latest unreal uses pyside6, Qt.py doesnt support this yet.
another wrapper qtpy, would work.
but pyside6 released a bug in their latest release, which also breaks with qtpy. no good solution available atm.
more details here plugget/plugget-unreal-plugin#14
there are 2 problems:
The text was updated successfully, but these errors were encountered: