Search Issue Tracker

Fixed

Fixed in 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a19

Votes

6

Found in

2020.3.41f1

2021.3.12f1

2022.1.21f1

2022.2.0b13

2023.1.0a16

Issue ID

UUM-17921

Regression

No

[IL2CPP] Windows builds fails when using VS 2022 17.4.0 Preview

--

-

How to reproduce:
1. Download and install Visual Studio 2022 17.4.0 Preview 5.0
2. Open attached project “My Project.zip“, or create an empty project
3. Make sure the IL2CPP is selected as the scripting backend (Project Settings -> Player -> Other Settings -> Scripting Backend)
4. Shouldn't be necessary but can make sure the “Visual Studio preview” install is selected as the External script editor (Edit->Preferences->External Tools -> External Script Editor)
5. Open the Build Settings (Edit > Build Settings…)
6. Build

Expected result: The Player is built successfully
Actual result: The Player build fails with an error message: “Building Library\Bee\artifacts\WinPlayerBuildProgram\ei6vj\6p7s_z_vm6.lump.obj failed”

C:\Program Files\Unity\2023.1.0a16_4a28b8b54318\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(71): error C2039: 'hash_compare': is not a member of 'stdext'
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.34.31932\include\iterator(1426): note: see declaration of 'stdext'
C:\Program Files\Unity\2023.1.0a16_4a28b8b54318\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(71): error C2065: 'hash_compare': undeclared identifier
C:\Program Files\Unity\2023.1.0a16_4a28b8b54318\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(71): error C2275: 'Key': expected an expression instead of a type
C:\Program Files\Unity\2023.1.0a16_4a28b8b54318\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(38): error C2976: 'Il2CppReaderWriterLockedHashMap': too few template arguments
C:\Program Files\Unity\2023.1.0a16_4a28b8b54318\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: see declaration of 'Il2CppReaderWriterLockedHashMap'

Reproducible with: 2020.3.41f1, 2021.3.12f1, 2022.1.21f1, 2022.2.0b13, 2023.1.0a16

Tested with: Windows 10 Enterprise

Forum Post where it was reported: [https://forum.unity.com/threads/il2cpp-error-on-building-for-windows.1351589/]
Workaround available here: https://forum.unity.com/threads/workaround-for-building-with-il2cpp-with-visual-studio-2022-17-4.1355570/
 

  1. Resolution Note (fix version 2023.1.0a19):

    Fixed in: 2023.1.0a19

  2. Resolution Note (fix version 2022.2.0b16):

    Fixed in: 2022.2.0b16

  3. Resolution Note (fix version 2022.1.23f1):

    Fixed in: 2022.1..23f1

  4. Resolution Note (fix version 2021.3.14f1):

    Fixed in: 2021.3.14f1

  5. Resolution Note (fix version 2020.3.42f1):

    Fixed in: 2020.3.42f1

Comments (43)

  1. Cotezhudson

    Dec 12, 2024 01:40

    Losing Bitcoin due to uncertainties and issues can be life-draining for anyone who has invested in Bitcoin. Unfortunately, that was my situation, many out there are going through such problems also. As Bitcoin is a decentralized currency, tracing it can also be in vain, also there is no central authority or agency to run to for help, making it challenging to recover lost invested Bitcoin. However, there are special recovery services available that specialize in retrieving lost or stolen Bitcoin. These kinds of services require various techniques and intellects to engage with so as to perfect a successful recovery making them human natural resources for those who have fallen victim to scams or technical issues. Swift Hack Expert, is a team of stolen or lost Bitcoin recovery experts that is non-debatable the best on the internet. If you have ever lost money to scammers, hire Swift Hack Expert and help yourself from being a fraud victim. swift1@ cyberservices. com

  2. tradeprecinct

    Nov 30, 2024 21:38

    ARE YOU A VICTIM OF INVESTMENT OR NFT SCAM? DO YOU DESIRE CREDIT REPAIR (ALL BUREAUS)? SCHEDULE A MEETING WITH AN ETHICAL HACKER ASAP TO GET STARTED.

    Workmanship fee is to be settled AFTER recovery completion.

    Let us show you the art of Ethical Hacking….!

    Asore Hack Corp. is a financial regulator, PRIVATE investigation and funds recovery body. We specialize in cases as regards ETHICAL HACKING, CRYPTOCURRENCY, FAKE INVESTMENT SCHEMES and RECOVERY SCAM. We are also experts in CREDIT REPAIR, we analyze what’s impacting your score.
    All software tools needed to execute RECOVERIES from start to finish are available in stock.
    Kindly NOTE that the available tools does NOT apply to CREDIT FIX.

    Be ALERT to FALSE reviews and testimonies on the internet, the authors and perpetrators unite to form a syndicate.

    Contact our team as soon as you can via the email address below to book a mail meeting with an ethical hacker.
    asorehackcorp (@) gmail (.) com

    Transparency is our watchword !

    Stay Safe out there !.

  3. angel001smith5

    Nov 19, 2024 20:47

    It is extremely upsetting to lose Bitcoin (BTC) to a fraudulent online investment platform, move your cryptocurrency to the wrong wallet, or forget your wallet's password. After falling victim to a cryptocurrency scam, I was fortunate enough to read an article on Redeemed Hacker Pro. His reviews were really good and reliable. Redeemed Hacker Pro assists fraud victims in recovering their losses as a certified specialist in digital currencies. My wallet and all of my Bitcoins were magically retrieved by Redeemed Hacker Pro in less than 48 working hours. Redeemed Hacker Pro comes highly recommended and is a professional to anyone in need of his services. His contact information is available at:
    Email: redeemed.h.p @ hackermail. com
    Website; www.redeemedhackerpro .com
    Website: redeemedhackerpro. wixsite. com/redeem-hacker-pro.

    Don't make the same mistake I did; stay blessed and stay informed

  4. fordw081

    Sep 25, 2024 15:52

    Hello contact SUPERIOR . HACK @ GMAIL . COM OR WHSTAPP +1 4 1 0 6 3 5 0 6 9 7 for your hacking jobs i can assure you that you would get the best out of the job they helped me hack into my spouse phone and recovered the stolen cryptocurrency we had together for our future cis he found another woman he wanted to leave with my hard earned money I'm talking crypto in large volumes he also cleared my bad credit report contact him and come back thanking me that's all i can say

  5. williamdylan48

    Sep 21, 2024 22:20

    How to Track and Recover Cryptocurrency Fraud With - iBolt Cyber Hacker

    Thank you, iBolt Cyber Hacker for recovering my scammed bitcoin just 2 days ago! I was really frustrated after falling for that stupid scam, but your team's quick response and powerful tools made all the difference i needed. You traced the fraudulent transactions and got my bitcoin back in no time, still can't believe my bitcoin is back in my wallet. I couldn't be more grateful for your support, thank you, thank you, thank you. You saved me from a huge loss, and I highly recommend your services.

    Thank you Team

    Website: h t t p s : / / ibolt cyber hack . com /

  6. jamesrodriguezfrc

    Sep 02, 2024 13:56

    RECOVER DIGITAL COIN WALLETS-BTC-INVESTMENT FUNDS HIRE_BITSQUERY WEB RETRIEVER
    Recover Digital Coin Wallets and Investment Funds—Hire Bitsquery Web Retriever
    After losing access to my digital coin wallets and a significant amount of investment funds, I felt completely helpless. That's when I decided to hire Bitsquery Web Retriever, a trusted service known for recovering lost and stolen cryptocurrency assets.

    The experts at Bitsquery Web Retriever were exceptional in their approach. They used advanced techniques to recover my digital coin wallets and investment funds, guiding me through every step of the process. Their dedication to resolving my situation was evident from the start.

    Thanks to their expertise, I was able to reclaim my lost assets. If you need help recovering digital coin wallets, BTC, or investment funds, I highly recommend hiring Bitsquery Web Retriever. They are the best in the business.

    You can reach them via email at bitqueryretrieverhacker [@] bitquery [.] co [.] site site or visit their website at w w w [.] Bitsquerywebretriever [.] xyz. Their professional service will help you recover your assets and restore your financial security.

  7. unity_FECC686583761BDDFEE9

    Aug 22, 2024 11:07

    Solana Wallet Drained by BONKbot Exploit

    Date of Incident: 25/08/2024

    I never imagined I’d be a victim of a widespread crypto attack, but that’s exactly what happened when 700 SOL were drained from my wallet on the Solana network. The exploit is believed to be connected to BONKbot, a Telegram bot capable of executing trades on Solana. The wallet draining incident occurred after I had connected my wallet to a dApp. Although the developers associated with the project denied their involvement, they admitted that similar exploits had surfaced across the Solana ecosystem.

    It wasn't until I reached out to TheHackersPro that I realized the full extent of the attack. Their expert forensic team immediately began tracing the stolen funds using the transaction hashes I provided:

    0x4c8ce2c2153e3f3f8a64cde2d01a13dd1a4bacefdbcc3e173091f7a76a0a90c66
    0x516f5fb01fc2a35d4741698e388736615af1e2aea7c6af4585fef821c970c46aa

    Through their diligent work, I was able to recover a portion of my stolen funds, and I’m now waiting on the Ethereum gas fee to detach the rest from the outsourced leveraged wallets.

    If you've been affected by a similar issue, don't wait—reach out to TheHackersPro. Their forensic experts specialize in tracing and recovering stolen cryptocurrency, and their dedication can make all the difference.

    Contact TheHackersPro for Assistance:

    Email: support@thehackerspro/com
    Phone: +1 3 0. 1 9 9. 7 2 3 4 9
    24/7 Telegram Support: @h4ckerspro

    TheHackersPro’s expertise in dealing with cases like mine could be the lifeline you need to recover your assets and secure your future.

  8. marksteven9857

    Aug 06, 2024 07:51

    Are You Having Problem In Recovery Your Lost Coin? Contact Paradox Recovery Wizard

    Dear Paradox Recovery Wizard Team, I am writing to express my heartfelt gratitude for your assistance in recovering my lost funds. Your team's dedication, professionalism, and expertise have made a significant difference, and I am incredibly relieved and grateful for the successful outcome. I highly recommend the services of Paradox Recovery Wizard for anyone who has lost funds and is seeking reliable assistance. Their team demonstrated exceptional professionalism, expertise, and dedication in recovering my lost funds, and I am confident they can provide the same outstanding service to others in need.

    Email: S u p p o r t @ paradox recovery wizard . com

    WhatsApp: +3.9. .3.5.1. .2.2.2. .3.0.5.1

    Website: h t t p s : / / paradoxrecoverywizard . com

  9. marksteven9857

    Aug 06, 2024 07:28

    Are You Having Problem In Recovery Your Lost Coin? Contact Paradox Recovery Wizard

    Dear Paradox Recovery Wizard Team, I am writing to express my heartfelt gratitude for your assistance in recovering my lost funds. Your team's dedication, professionalism, and expertise have made a significant difference, and I am incredibly relieved and grateful for the successful outcome. I highly recommend the services of Paradox Recovery Wizard for anyone who has lost funds and is seeking reliable assistance. Their team demonstrated exceptional professionalism, expertise, and dedication in recovering my lost funds, and I am confident they can provide the same outstanding service to others in need.

    Email: S u p p o r t @ paradox recovery wizard . com

    WhatsApp: +3.9. .3.5.1. .2.2.2. .3.0.5.1

    Website: h t t p s : / / paradoxrecoverywizard . com

  10. marksteven9857

    Aug 06, 2024 07:28

    Are You Having Problem In Recovery Your Lost Coin? Contact Paradox Recovery Wizard

    Dear Paradox Recovery Wizard Team, I am writing to express my heartfelt gratitude for your assistance in recovering my lost funds. Your team's dedication, professionalism, and expertise have made a significant difference, and I am incredibly relieved and grateful for the successful outcome. I highly recommend the services of Paradox Recovery Wizard for anyone who has lost funds and is seeking reliable assistance. Their team demonstrated exceptional professionalism, expertise, and dedication in recovering my lost funds, and I am confident they can provide the same outstanding service to others in need.

    Email: S u p p o r t @ paradox recovery wizard . com

    WhatsApp: +3.9. .3.5.1. .2.2.2. .3.0.5.1

    Website: h t t p s : / / paradoxrecoverywizard . com

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.