Jump to content

[Crash] Changing rocket destination: GetRevealCompleteFraction called with invalid location


BEHYSJA
  • Branch: Live Branch Version: Linux Fixed

Setting the travel location to certain tiles (the outermost ring?) causes a crash.

It happened once before while the rocket was further away from the edge than immediately adjacent, too.

I already submitted it via the ingame reporter, but I suppose it helps to have a thread to track the issue as well.

Assert failed: GetRevealCompleteFraction called with invalid location: 11, -12

UnityEngine.Debug:LogError(Object)
Debug:LogError(Object)
Debug:Assert(Boolean, Object)
Instance:GetRevealCompleteFraction(AxialI)
Instance:IsLocationRevealed(AxialI)
ClusterGrid:GetVisibleEntitiesAtCell(AxialI)
ClusterGrid:<GetVisibleAsteroidAtAdjacentCell>b__14_0(AxialI)
System.Linq.Enumerable:FirstOrDefault(IEnumerable`1)
ClusterGrid:GetVisibleAsteroidAtAdjacentCell(AxialI)
ClusterGrid:GetLocationDescription(AxialI, Sprite&, String&, String&)
Database.<>c:<CreateStatusItems>b__206_56(String, Object)
StatusItem:ResolveString(String, Object)
StatusItem:GetName(Object)
Entry:GetName()
StatusItemEntry:Refresh()
StatusItemEntry:.ctor(Entry, StatusItemCategory, GameObject, Transform, TextStyleSetting, Color, TextStyleSetting, Boolean, Action`1)
SimpleInfoScreen:DoAddStatusItem(Entry, StatusItemCategory, Boolean)
SimpleInfoScreen:OnAddStatusItem(Entry, StatusItemCategory)
StatusItemGroup:AddStatusItem(StatusItem, Object, StatusItemCategory)
StatusItemGroup:SetStatusItem(StatusItemCategory, StatusItem, Object)
KSelectable:SetStatusItem(StatusItemCategory, StatusItem, Object)
Clustercraft:UpdateStatusItem()
Clustercraft:ClusterDestinationChanged(Object)
<>c:<.cctor>b__77_0(Clustercraft, Object)
IntraObjectHandler`1:Trigger(GameObject, Object)
EventSystem:Trigger(GameObject, Int32, Object)
KMonoBehaviour:Trigger(Int32, Object)
ClusterDestinationSelector:SetDestination(AxialI)
RocketClusterDestinationSelector:SetDestination(AxialI)
ClusterMapScreen:SelectHex(ClusterMapHex)
ClusterMapHex:TrySelect()
MultiToggle:OnPointerClick(PointerEventData)
UnityEngine.EventSystems.EventSystem:Update()

 


Steps to Reproduce

It appears to be related to setting the destination of a rocket to the outer edge.

OK I think I figured out what I was doing wrong with attachments

getrevealcompletefraction.sav

 




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

It happens if I set the destination to the bottom row too (despite the bottom row being too far away to travel to).

Share this comment


Link to comment
Share on other sites

Reproducible in a new game on the preview branch too, where I rushed a rocket and flew it while revealing cells along the way towards the outermost ring of cells.

Share this comment


Link to comment
Share on other sites

Fixed, thanks.

Although my oldest save now crashes when I start it due to an invalid liquid tank or something.

I can grab the error when I have the time.

Share this comment


Link to comment
Share on other sites

7 hours ago, PropMan said:

@BEHYSJA Having the exact same problem too. What did you do to fix it?

 

It was fixed in the testing branch on the 18th of March (456658)

  • Fixed crash selecting a rocket destination on the edge of the starmap.

I have not been able to try it on my main colony though as that savegame crashes on load due to some liquid fuel tank bug (I sent an automatic report from ingame regarding that a few days ago).

I was able to select and travel to an outermost destination on a new save with debug mode where I rushed a rocket that could get there easily, though (nothing happened in terms of announcements or cutscenes when I did).

Edited by BEHYSJA

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...