Setting the Object Description to some strings will "kill" the project. The .SOL file gets corrupted and the project cannot be opened. If you restore the .SOL dfile and remove the description by editing the .PRJ file, it will load again.
My script set the description to "co=R&key=12345000-0000-0000-0000-0000000000002&wd=20&wc=0". Closing and opening the project results in an error mesasage "Not a valid item file" and a blank project. It deletes the Project line in the .sol file.
Before:
<solution name="Opensim Ridable NPC">
<project name="Opensim Ridable NPC" path="Opensim Ridable NPC\Opensim Ridable NPC.prj" active="true">
</project></solution>
After:
<solution name="Opensim Ridable NPC">
</solution>
If I delete the description, and re-add the .SOL solution line, the project will load.
This is the line in the.prj file that is set by the lLSetObjectDesc() script command. After restoring the .SOl line, I delete the description and it will load again.
Fails: <object name="Object" guid="fc74138d-917e-4ef1-b428-4cf6d8ab9ff2" active="true" description="co=R&key=12345000-0000-0000-0000-0000000000002&wd=20&wc=0">
Works: Object name="Object" guid="fc74138d-917e-4ef1-b428-4cf6d8ab9ff2" active="true" >
</object>