I’m making an importer using the SketchUp SDK, and I’m having problems to import textures. I use
SUTextureWriterWriteAllTextures() to write them to disk, and then
SUTextureWriterGetTextureFilePath() to get the paths to the files.
The problem is that
SUTextureWriterGetTextureFilePath() always returns the error code
SU_ERROR_NULL_POINTER_OUTPUT, which according to the documentation is returned when the
SUStringRef pointer passed to the function to receive the path is null, but it’s not the case here. But I’m only having the problem when building a 32-bit application, when building a 64-bit one it works fine; I use the correct DLLs for each one, and anyway everything seems to work fine when not loading textures with both versions. The textures are indeed being written to disk correctly, and it happens with all the SketchUp files with textures I have tried.
I’m using the SDK inside a C# program, in case that mattered, though it shouldn’t.
Is there any bug in the 32-bit version of