System Information
Operating system: Windows 10 1909
Graphics card: Radeon RX 570
Blender Version
Broken: 2.90.0 Alpha, branch: arcpatch-D7884, commit date: 2020-06-15 14:16, hash: rB81fcf23d7cec
Worked: Probably never, 2.82 and earlier will crash, but that may be different bug.
Short description of error
So I'm currently making an add-on to support Substance, it will generate texture based on inputs and save them to disk, it will also generate material and assign texture generated before.
However on Version 2.82a with Material Preview mode after update a property, the add-on generate the texture, and auto reload the images, the press ctrl+z, normally it would undo the property, but it either crashs directly with EXCEPTION_ACCESS_VIOLATION, or ends up with a weird 3d preview. (below it's the normal one)
The weird thing is that it doesn't crash(2.82) if I run blender with blender_debug_log.cmd
Exact steps for others to reproduce the error
- Open File
- Run script
- In 3D viewport side panel click on Toggle option and undo
- Repeat until you see glitch in material

