Issue Data
|
Issue #21917: dn015puzzlescript - Cannot add text replacement pair for missing data
[07/12/2016 - 09:38:52PM] error: Cannot add text replacement pair for missing data
stack: [ (0016D86A)].ObjectReference.AddTextReplacementData() - "<native>" Line ? [DN015Puzzle (0016D8C7)].dn015puzzlescript.ClearFakeNames() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015PuzzleScript.psc" Line 125 [DN015Puzzle (0016D8C7)].dn015puzzlescript.RunScan() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015PuzzleScript.psc" Line 88 [ (0016D8C5)].Fragments:Terminals:TERM_DN015_PuzzleTerminal_0016D8C5.Fragment_Terminal_05() - "g:\_F4\Art\Raw\ScriptsMilestone\Fragments\Terminals\TERM_DN015_PuzzleTerminal_0016D8C5.psc" Line 18 [07/12/2016 - 09:42:59PM] error: Cannot add text replacement pair for missing data stack: [ (0016D86A)].ObjectReference.AddTextReplacementData() - "<native>" Line ? [DN015Puzzle (0016D8C7)].dn015puzzlescript.ClearFakeNames() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015PuzzleScript.psc" Line 125 [DN015Puzzle (0016D8C7)].dn015puzzlescript.RunScan() - "g:\_F4\Art\Raw\ScriptsMilestone\DN015PuzzleScript.psc" Line 88 [ (0016D8C5)].Fragments:Terminals:TERM_DN015_PuzzleTerminal_0016D8C5.Fragment_Terminal_05() - "g:\_F4\Art\Raw\ScriptsMilestone\Fragments\Terminals\TERM_DN015_PuzzleTerminal_0016D8C5.psc" Line 18 |
This happens if the terminal is activated with no samples or only one sample placed. DN015PuzzleScript then tries to evaluate rext replacement data for 'none' samples and this results in a 'none' being passed to the AddTextReplacementData() call.
Added a sanity check.
Added a sanity check.
Showing Comments 1 - 1 of 1