Last time 3ds Max was launched it seemed to crash trying to load the OSL shaders

Last time 3ds Max was launched it seemed to crash trying to load the OSL shaders

Anonymous
Not applicable
7,347 Views
4 Replies
Message 1 of 5

Last time 3ds Max was launched it seemed to crash trying to load the OSL shaders

Anonymous
Not applicable

При каждом запуске появляется ошибка:

Last time 3ds Max was launched it seemed to crash trying to load the OSL shader:
C:\Rrogram files\....\OSL\Wavelength.osl

Я удалял файлы *.osl

Я удалял папку с настройками ENU

Не помогло.

Прошу тех, кто знаком с этой проблемой, помочь.

Заранее благодарю.

 

0 Likes
Accepted solutions (2)
7,348 Views
4 Replies
Replies (4)
Message 2 of 5

brentscannell
Autodesk
Autodesk
Accepted solution

Hi Max,

 

When it crashes, does it give you the opportunity to send in a crash report? Can you post the report number, or direct message me your email address? I can see if we got it on our end and examine it for clues.

 

0 Likes
Message 3 of 5

masterzap
Enthusiast
Enthusiast
Accepted solution

The real question is - did it ACTUALLY crash?

 

This message is generated when there is a left over temporary lock file in the system. This *can* have been created if max crashed while loading OSL shaders. It can also be created if:


a) You aborted max startup for some reason
b) You started multiple max concurrently
c) Other harmless situations I can't think of

 

If that's the case, you can just ignore the message and move on. It should not appear again.

There is also a false positive with this situation that can occur if your user name has unicode characters in it in some early versions of max 2019.  IF you have this problem, the message will uselessly show up every time you launch max, even though max never actually crashed. This is an error in the logic to find the lock file, where the unicode characters in the user name path is confusing the lock file deletion code. This causes the file to remain incorrectly, and will incorrectly be interpreted as if max has crashed - but it never did crash. This problem is fixed in max 2020 (and I think in 2019.3 too).

 

If you have this problem, you can work around it like this:

In your windows explorer, go to  %localappdata%\autodesk\3dsmax\2019 - 64bit\ENU\en-US\plugcfg\

 

If you find a file in this directory called OSL-Crash.txt then delete it.

 

In this folder, create a new folder named "OSL-Crash.txt"

 

This should fix the problem.


/Z

Message 4 of 5

Anonymous
Not applicable

I thank everyone for the advice.
Yes, when you delete the OSL-crash.txt file, the program starts up normally, and again creates this file.
The next launch again brings an error.

0 Likes
Message 5 of 5

Anonymous
Not applicable

And the file OSL-crash.txt contains the link
C: \ Program Files \ Autodesk \ 3ds Max 2019 \ OSL \ Wavelength.osl

I attach the screen error

ошибка.jpg

0 Likes