axmol icon indicating copy to clipboard operation
axmol copied to clipboard

Assertion failed! (LATEST BUILD) SpritePolygon Creation => pressing right arrow

Open aismann opened this issue 5 years ago • 3 comments


Microsoft Visual C++ Runtime Library

Assertion failed!

Program: ...-x-master.build\bin\cpp-tests\Debug\cpp-tests.exe File: D:_____EGNX\EGNX_1007\EGNX_1007\en...\CCAutoP...gon.cpp Line: 260

Expression: sv != 0 && sv != 15

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

Abort Retry Ignore

aismann avatar Oct 07 '20 15:10 aismann

some more hint (changing the resourceSize back to: AppDelegate.cpp: static Size resourceSize(960, 640); <<<<<<<<<<<<<<<<< works!!! static Size resourceSize(1280, 720); <<<<<<<<<<<<<<<<< Assertion failed!

Detected on Windows10

aismann avatar Oct 08 '20 05:10 aismann

Yes, I have checked the official v4, also have same problem

halx99 avatar Oct 08 '20 08:10 halx99

@halx99 Please remove the label: "needs-confirm"

aismann avatar Apr 12 '22 07:04 aismann

@halx99 Maybe a hint on the documentation is helpful? => Rect have to be adapt to the 2.0/"ContentScaleFactor()"

Can be closed too (after PR is merged)

aismann avatar Aug 24 '22 17:08 aismann