Jump to content

The world load is repeated.


photo

Recommended Posts

image.png.0a0c98a84f984f796af8ba1f1826cf25.png

 

The host used is a program that has been used for a long time.

It is not accurate, but this problem seems to have occurred after installing the latest version of Unigine.

I think we need to fix our host because it doesn't happen when we use Hemu.

 

Why is the world repeatedly loaded?

Does it usually occur when IG Control packets are used incorrectly?

 

image.png.70903e3f1d0248c06a0c2dff30808a6f.png

We sent a message from the host, including IG Control packets, every frame.
(Renew host frame count parameters every time)

 

Edited by dongju.jeong
Link to comment

image.thumb.png.cf22efdfb24e68ae7d875e0a2d94e2f5.png

image.png.e9f7f1f73294a2e53eacea72e9f8e521.png

 

After reading the Cigi document, I changed the logic for database num a little bit.

Is this the right way to do it?

Edited by dongju.jeong
Link to comment

yes you are right, but you need also check negative(inverse) value of g_IG_DBNum while database is loading

image.png


something like that

IGCtrl.SetDataBaseID((database == g_IG_DBNum) || (database == uint8_t(-g_IG_DBNum)) ? 0 : database);

 

  • Thanks 1
Link to comment
×
×
  • Create New...