The_Lightmapper
The_Lightmapper copied to clipboard
Unable to bake on Blender 3.0
I get this error when trying to bake on Blender 3.0:
Error: Python: Traceback (most recent call last):
File "C:\Users\phoon\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\thelightmapper\addon\operators\tlm.py", line 52, in invoke
build.prepare_build(self, False)
File "C:\Users\phoon\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\thelightmapper\addon\utility\build.py", line 91, in prepare_build
naming_check()
File "C:\Users\phoon\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\thelightmapper\addon\utility\cycles\prepare.py", line 18, in init
set_settings()
File "C:\Users\phoon\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\thelightmapper\addon\utility\cycles\prepare.py", line 590, in set_settings
AttributeError: 'RenderSettings' object has no attribute 'tile_x'
location: <unknown location>:-1
I also get errors when trying to bake on Blender 2.92, but they're different from these errors, the errors on 2.92 are looking for a png that doesn't exist or something along those lines.
I also get the same error in blender 3.0
It should be fixed in https://github.com/Naxela/The_Lightmapper/commit/e1e27ee6719473e5ad82f401563830970660c23f (latest master), but I haven't made a new release yet. I'll put a new release in the releases page tomorrow
ok thanks Naxela!
WIP Release: https://github.com/Naxela/The_Lightmapper/releases/tag/0.6
I can't seem to install OpenCV with that wip 0.6 version, the install button seems to work, system log prints 'Sucessfully installed OpenCV!' but on restart, opencv isn't enabled in Blender 3.0
I can't seem to install OpenCV with that wip 0.6 version, the install button seems to work, system log prints 'Sucessfully installed OpenCV!' but on restart, opencv isn't enabled in Blender 3.0
Same here. Manually installed opencv but still no luck.
In Blender 3.0.1, I still get the same error msg with WIP 0.6 version.
Python: Traceback (most recent call last):
File "C:\Users\ME\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\thelightmapper\addon\operators\tlm.py", line 52, in invoke
build.prepare_build(self, False)
File "C:\Users\ME\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\thelightmapper\addon\utility\build.py", line 95, in prepare_build
prepare.init(self, previous_settings)
File "C:\Users\ME\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\thelightmapper\addon\utility\cycles\prepare.py", line 18, in init
set_settings()
File "C:\Users\ME\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\thelightmapper\addon\utility\cycles\prepare.py", line 793, in set_settings
scene.render.tile_x = 32
AttributeError: 'RenderSettings' object has no attribute 'tile_x'
location: <unknown location>:-1
@paperli Hi, the error with RenderSettings tiles should be fixed in the latest commit: https://github.com/Naxela/The_Lightmapper/commit/1f451121f12c54d4a67ed506a9fd635c8c375fa6
I'll add a new WIP build later today
Still getting that error with that release, using Blender 3.1.0
@ROBYER1 Thanks for reporting this!
Is this occuring with the WIP release (https://github.com/Naxela/The_Lightmapper/releases/tag/0.6.12) or the latest git commit/green-frontpage-button (https://github.com/Naxela/The_Lightmapper/archive/refs/heads/master.zip)
WIP Release that you linked there (latest as of today) tested with the current Blender 3.1.0 version as of today also
@ROBYER1 Thanks for reporting this!
Is this occuring with the WIP release (https://github.com/Naxela/The_Lightmapper/releases/tag/0.6.12) or the latest git commit/green-frontpage-button (https://github.com/Naxela/The_Lightmapper/archive/refs/heads/master.zip)
Can confirm it works with the latest git zip you linked, could be worth updating the release labelled with 3.1.0 support. I hope Blender stop changing so much that breaks your plugin and thanks for the ongoing support <3
@ROBYER1 Hi, thanks for testing it and reporting back. I've added the latest git as a release: https://github.com/Naxela/The_Lightmapper/releases/tag/0.6.3
Unfortunately, I think it's one of the downsides of supporting the latest Blender version. I know that a lot of addons are beginning to only support the LTS versions, but it's a shame since a lot of nice new features and performance improvements gets implemented with each new release.
bpy.context.render.tile_x = 256 AttributeError: 'Context' object has no attribute 'render'