Page MenuHome

Disabling 'Use Material Caching' causes Blender to crash when calling LibLoad
Closed, ResolvedPublic


System Information
Windows 7 64-bit
Intel HD Graphics 4000

Blender Version
Broken: 2.75 (c6b042b)
Worked: 2.74 (000dfc0)


-- Contains an empty that runs the following script:

import bge

path = bge.logic.expandPath('//load.blend')
print('loading:', path)
bge.logic.LibLoad(path, 'Scene')

- Contains the default cube

Short description of error
Calling LibLoad in 'Scene' mode on any file causes Blender to crash if the 'Use Material Caching' option is disabled. This is almost certainly caused by fix rB377822729cbf for another LibLoad/LibFree crash with material caching.

Exact steps for others to reproduce the error
Extract the attached files to the same location and open start.blend. Blender will immediately crash upon starting the game engine. Reopen the file and enable the 'Use Material Caching' option under Properties -> System. The crash should no longer occur and the cube should load properly.

Additional Notes

  • It does not seems to make any difference if the loaded cube has a material or not.
  • Attempting to load a file that contains no objects appears to always crash Blender regardless of the current material caching setting.

Event Timeline

mobious created this task.Jul 2 2015, 2:03 AM
mobious raised the priority of this task from to 90.
mobious updated the task description. (Show Details)
mobious added a project: Game Engine.
mobious edited a custom field.
mobious added a subscriber: mobious.