Hey,
I've had one particular player in my game experiencing random crashes that really don't seem to make sense. These have included a number of silent crashes, crashes caused by line 106 of the cache "cannot create bitmap" in a place where no one else has had a crash, and at least one spot where $game_map seemed to be returning a nil value. I've already recommended a restart to clear corrupted RGSS player and installing the RTP (I always compress with RTP included, but figured it couldn't hurt since the cache-related crash happened around an RTP asset) as well as validating their Steam install. None of these issues can be replicated by me or my playtesters, but I was wondering if anyone had any idea what could cause issues like this? I assume it's on the player's end, but I'd like to help them if possible. It's very vexing.
I've attached two screenshots of crash logs they provided.
Relevant lines of code marked with ><
We note in the second that the error implies it tried to get terrain_tag(x, y) for nilclass, meaning $game_map was a nil.
I've had one particular player in my game experiencing random crashes that really don't seem to make sense. These have included a number of silent crashes, crashes caused by line 106 of the cache "cannot create bitmap" in a place where no one else has had a crash, and at least one spot where $game_map seemed to be returning a nil value. I've already recommended a restart to clear corrupted RGSS player and installing the RTP (I always compress with RTP included, but figured it couldn't hurt since the cache-related crash happened around an RTP asset) as well as validating their Steam install. None of these issues can be replicated by me or my playtesters, but I was wondering if anyone had any idea what could cause issues like this? I assume it's on the player's end, but I'd like to help them if possible. It's very vexing.
I've attached two screenshots of crash logs they provided.
Relevant lines of code marked with ><
Ruby:
#--------------------------------------------------------------------------
# * Create/Get Normal Bitmap
#--------------------------------------------------------------------------
def self.normal_bitmap(path)
> @cache[path] = Bitmap.new(path) unless include?(path)<
@cache[path]
end
Ruby:
#--------------------------------------------------------------------------
# * Get Reflection Offset Value
#--------------------------------------------------------------------------
def reflection_offset(x = @x, y = @y + 1)
# Return Character Reflection Offset with Character Offset
@reflection_y_offset = 0 unless @reflection_y_offset
> $game_map.terrain_reflection_offset($game_map.terrain_tag(x, y)) + @reflection_y_offset<
end
We note in the second that the error implies it tried to get terrain_tag(x, y) for nilclass, meaning $game_map was a nil.