Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008862opensim[GRID] Asset Servicepublic2021-02-08 13:472021-02-09 13:23
Assigned Tomewtwo0641 
PlatformOperating SystemOperating System Version
Product Version 
Target VersionFixed in Versionmaster (dev code) 
Summary0008862: Some scripts won't load after loading OAR
DescriptionAs of master, when loading an OAR file to a region some scripts won't load and there will be numerous errors in the console stating that the script asset can't be found. If you edit the object containing the "missing" script assets, the script item will be there, but will not load if you try to open it.

Note 1: This only seems to apply when the OAR contains script assets that doesn't already exist on the database.

Note 2: It doesn't seem to be a permanent issue since it can be fixed simply by shutting OpenSim/ROBUST down and deleting the assetcache and script engine folders, then restart, and everything is fine.
Steps To Reproduce1. Load an OAR file with scripted objects on a new database
    a. Alternatively you can load the OAR to an existing database if you are
    certain that the script assets don't already exist on the database.

2. Observe console output after OAR load is finished and scripts are started
Additional InformationError:

15:31:46 - [PRIM INVENTORY]: Couldn't start script * Waterfall v1.0.0, d98730c0-514d-489b-9681-530075b055de at <100.9202, 52.1747, 43.9393> in Test Region since asset ID adff7714-bd84-4250-8802-cb7973f1b249 could not be found

There are many of these each with their own script name and asset ID, etc.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Script EngineYEngine
Environment.NET / Windows64
Mono VersionNone
Attached Files

- Relationships

-  Notes
UbitUmarov (administrator)
2021-02-09 05:38

assets are not stored on objects that do reference them.
those assets need to be present on the oar on their own file
for full backup and transfer OARs must be created with the option to include assets.
The option to not include assets is USELESS, unless you do have solid assets service on a grid, and so can rely on those doing regions backups.
mewtwo0641 (reporter)
2021-02-09 09:19
edited on: 2021-02-09 09:21

The OAR files that I created do contain the assets; I did not use the --noassets switch.

As I mentioned a bit later in the mantis, the issue is temporary, but to fix it, once the OAR file is loaded, OpenSim needs to be shut down, the assetcache directory needs to be deleted as well as the ScriptEngines folder. Once that is done and OpenSim is restarted, the failed scripts load fine and I can access them via editing the object and opening the script.

It is just quite annoying to have to do that every time you load an OAR file... This hasn't been an issue up until recently.

UbitUmarov (administrator)
2021-02-09 10:53

made a small change, can you plz test?
mewtwo0641 (reporter)
2021-02-09 13:22

It seems to be working fine now after pulling your change in.

Tested on a brand new blank database with empty assetcache and ScriptEngines directories to start with. Loaded OAR, all scripts appear to have started correctly and am able to view the scripts via object edit.

Thank you!
UbitUmarov (administrator)
2021-02-09 13:23

thx :)

- Issue History
Date Modified Username Field Change
2021-02-08 13:47 mewtwo0641 New Issue
2021-02-09 05:38 UbitUmarov Note Added: 0037548
2021-02-09 09:19 mewtwo0641 Note Added: 0037549
2021-02-09 09:21 mewtwo0641 Note Edited: 0037549 View Revisions
2021-02-09 10:53 UbitUmarov Note Added: 0037550
2021-02-09 13:22 mewtwo0641 Note Added: 0037551
2021-02-09 13:22 mewtwo0641 Status new => resolved
2021-02-09 13:22 mewtwo0641 Fixed in Version => master (dev code)
2021-02-09 13:22 mewtwo0641 Resolution open => fixed
2021-02-09 13:22 mewtwo0641 Assigned To => mewtwo0641
2021-02-09 13:23 UbitUmarov Note Added: 0037552

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker