HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: Prop System: Fix for Fading Prop Spec Client Lookup  (Read 1628 times)


  • HeroEngine
  • *****
  • Posts: 122
    • View Profile
Prop System: Fix for Fading Prop Spec Client Lookup
« on: Jan 09, 13, 01:46:21 PM »

For HeroCloud worlds created prior to the release of HeroEngine 2 (i.e. this only applies to worlds that already existed prior to Dec. 5th, 2012), the following fix has been issued:

The prop spec named "Fading Prop" (specID=1 in the _PropSpecOracle) did not write itself to the repository during world creation.  As a result, attempts to reference the prop on the client (by calling requestSpecByKey) will fail and generate a script error.

In order to coerce the prop spec into writing out the appropriate repository file, perform the following steps:
  • Open the _PropSpecOracle from the 'Tool's tab of the Utilities Interface (F5 menu).
  • Select the "Fading Prop" spec and click 'Edit'.
  • Click 'OK' to force the spec to be saved; this will trigger a repository file write.
  • Verify the file '1._PropSpec' exists in the ScriptData folder using your Repository Browser

Do I need this fix?
You can verify that this fix applies to you by checking for the existence of the repository file '/ScriptData/1._PropSpec'.  If this file does not exist in your repository (use your Repository Browser to check), then you should perform the steps outlined above to resolve the issue.