Skip to content

Fix Blender 5+ breaking changes on properties#105

Open
hjarrell wants to merge 1 commit into
Roblox:mainfrom
hjarrell:main
Open

Fix Blender 5+ breaking changes on properties#105
hjarrell wants to merge 1 commit into
Roblox:mainfrom
hjarrell:main

Conversation

@hjarrell

@hjarrell hjarrell commented Mar 28, 2026

Copy link
Copy Markdown

The dict-style access for blender properties was removed in blender 5. Switches to getattr. Also had to bump dependencies due to python 3.13 not having wheels for aiohttp and the rest of the dependencies were so old.

Heres the list of breaking changes: https://developer.blender.org/docs/release_notes/5.0/python_api/

I'll be honest I used Claude Code to write this but I checked the diff. I also tested this against Blender 5.1.0 and Blender 4.5.8 on a mac. Verified in each can login -> upload mesh -> select other account -> upload mesh, then checked the assets were correctly uploaded in Roblox.

Should fix #99 #103 #104

The dict-style access for blender properties was removed in blender 5. Switches to getattr. Also had to bump dependencies due to python 3.13 not having wheels for aiohttp and the rest of the dependencies were so old.
@nightware47

Copy link
Copy Markdown

Still wants me to log in each time

@hjarrell

Copy link
Copy Markdown
Author

Did you uninstall the addon before installing? I needed to do that. Ive been using it successfully on 5.1.0 and uploading to roblox

@itsfrank

itsfrank commented Apr 20, 2026

Copy link
Copy Markdown
Collaborator

Hey @hjarrell thank you for the PR, I am using it (and the other one) as a reference to implement the fixes. Since this is fixing 2 separate issues: the 5.0 api incompatibility with getattr/setattr and the login issue. I will be splitting the fixes into 2 changes.

I have already merged fixes that remove all pip install and python exception errors from normal usage in one session. This was merged in #110.

I am now investigating 2 other issues:

  1. Users having to re-login on startup (just clicking the "login" button, the oauth token is actually loaded properly)

@hjarrell

Copy link
Copy Markdown
Author

Probably good to just close this PR @itsfrank, given you implemented equivalent features, however I'd be wary of leaving certifi pinned in requirements.txt certifi ~= 2023.5.7 given certification rotations/expirations/distrusts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

blender 5.0.1 crash error

3 participants