Closed chuiliuyiyi closed 1 year ago
Hi, I can't reproduce the error with your file (I'm using VS2022 though), could you please share more details? The file you shared is only configured to export to Krom so I added windows-hl as a target. If you changed anything from the default exporter settings for HL and that causes the issue, it will not happen to others.
When Visual Studio reaches a breakpoint, it will usually show you a call stack which looks like this:
Could you please share the call stack in your case? The position in which the debug break was triggered unfortunately doesn't help, since __debugbreak()
is called as part of a routine that reacts to errors (winerror()
), but we currently do not know what is leading to that error.
I noticed that you have a file called ╣Ñ╗¸┴ª1.png
, please avoid special characters as they are usually prone to issues. The same goes for "球体" as the name of your sphere object, I'm not sure if all parts of Armory and Kha can handle these characters well. However, it works for me, so there might not be an issue with that in this case :)
Edit: I took the liberty of editing your post above in order to properly format/highlight the code you shared.
Duplicate of https://github.com/armory3d/armory/issues/2832.
I am not very good at operating VS C++. I just open the. sln file, click on compile and run directly, and the breakpoint location will appear
Thank you for contributing to Armory!
Description A breakpoint has been triggered.
To Reproduce Steps to reproduce the behavior.
Expected behavior
System Blender:3.3.0 Armory:ArmorySDK2303 OS:Windows10,vs2017compiler Graphics card:integrated graphics
Test File (drag & drop the zipped .blend file here) blender.zip