I installed the latest SDK (I use 3ds max and I installed 0.17 before
uninstalling the old one) now exporting any object I have an error in
compilation: glTFLister | Model texture not found in the texture directories:
‘…\TEXTURE\AIRPORT_LIGHTS_EMISSIVE.PNG’ - for model:
‘H:\SimpleScenery\PackageSources\modelLib\SampleMyBox\SampleMyBox.gltf’
glTFLister | Model texture not found in the texture directories:
‘…\TEXTURE\AIRPORT_LIGHTS_NORMAL.PNG’ - for model:
‘H:\SimpleScenery\PackageSources\modelLib\SampleMyBox\SampleMyBox.gltf’
glTFLister | Model texture not found in the texture directories:
‘…\TEXTURE\AIRPORT_LIGHTS_COMP.PNG’ - for model:
‘H:\SimpleScenery\PackageSources\modelLib\SampleMyBox\SampleMyBox.gltf’
glTFLister | Model texture not found in the texture directories:
‘…\TEXTURE\AIRPORT_LIGHTS_ALBEDO.PNG’ - for model:
‘H:\SimpleScenery\PackageSources\modelLib\SampleMyBox\SampleMyBox.gltf’ In
this demo of error I used your “simple scenery” demo. The demo compiles
correctly as is, but then exporting the cube again from 3ds max using the
existing textures and correct path, creates the error of missing texture in
compilation . I obviously assigned the correct paths in Babylon. I noticed
that in the working gltf the textures were written in this format:
{“uri”:“Test_Checker.png”} Now in the non-functional one I have:
{“uri”:“…/texture/Test_Checker.png”}
Same for me
Similar issue here with SDK 0.17. Aircraft model exports correctly from 3DSMax
without apparent issue, but when building within the Project Editor, the
textures are not found. Same errors in console as listed above. No issues were
present with previous SDK version. ‘glTFLister | Model texture not found in
the texture directories’
Hello. We were able to reproduce and fix the issue. A new SDK is being
prepared and will be released shortly. In the meantime, you can go here to get
the fixed Max2Babylon.dll and Max2Babylon.dll.config files and copy it
in your < 3DSMaxRoot>/bin/assemblies directory:
https://github.com/AsoboStudio/FlightSim-3dsMax-tools Regards, Sylvain
Same problem here with the updated DLL and Config from Github, here’s the
error in text format:
1. System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
2. at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
3. at System.Reflection.Assembly.LoadFile(String path)
4. at Autodesk.Max.Manager.LoadAssembly(String name, Boolean startingUp)
5. at Autodesk.Max.Manager.LoadAssemblies()
I tried to use the loadFromRemoteSources = true switch in the config file,
still the same error.
same dll problem with 2018 version
problem when adding new textures in 3D max. When using old materials created
before the update of the SDK to 0.17 version, everything goes well…
Make sure you get the full archive from the github website, extract it locally
and then copy the files to your assemblies directory. We just found out that
getting the files directly from github or drag and droping directly from the
archive was causing issues with 3DS Max. Regards, Sylvain
I can´t build a package… my machine freezes
Hi @Toninomex, I don’t think this is related to this topic (3dsMax export).
Feel free to open a new thread (Ask a question) about it but just in case, for
your information, there was [an issue similar to yours that was fixed for
SU9](https://devsupport.flightsimulator.com/questions/5785/no-responce-from-
msfs-when-trying-to-built-the-sce.html).
Tried the steps to get this resolved but get that error message at startup of
3ds max. Is there any solution to this?
Happens to 3dsmax 2019 as well.
Any more ideas or fixes coming? Grabbing the file archive from github just
introduces even more errors like those shown above.
I’ve uninstalled 0.17 and reinstalled 0.16, able to keep working on my project
with 0 errors so far. Think this might be our best option.
Any news on the SDK update?
Hello @Richie81 , Did you extract the zip file
before copying the files? Dragging and dropping from the zip file gives an
error in 3dsMax, so it is recommended to extract the file before using the
copy/paste function. Regards, Boris
Hi @runwaypimp , Did you extract the zip file
before copying the files? Dragging and dropping from the zip file gives an
error in 3dsMax, so it is recommended to extract the file before using the
copy/paste function. Can you tell me if is working now ? Regards, Boris
It seems to work without error after pre extracting. However, in Max 2022,
there is no multi exporter tool.
Are you sure you have selected the install option when installing the 0.17 SDK
Core Setup ? Also, did you copy
Max2Babylon.dll and Max2Babylon.dll.config from the folder 2022 for 3dsMax
2022 ? Regards, Boris