Rust-Citybound: citybound — The city sim you deserve

Citybound

Citybound is a city building game with a focus on realism, collaborative planning and simulation of microscopic details. It is independently developed, open source and funded through Patreon.

Comments

  • Use portable RecommendedWatcher type instead of MacOS FsEventWatcher
    Use portable RecommendedWatcher type instead of MacOS FsEventWatcher

    Dec 15, 2020

    Referencing the MacOS-specific Watcher implementation just produces a compiler error on linux, and presumably windows too. Switching to RecommendedWatcher should be quite safe: https://docs.rs/notify/4.0.15/src/notify/lib.rs.html#621

    Reply
  • FsEventWatcher not found in 'notify'
    FsEventWatcher not found in 'notify'

    Mar 5, 2021

    Following instructions from contributing.md. Using npm run ensure-tooling says that everything is okay, but I'm getting the following error:

    info: This is the version for the rustup toolchain manager, not the rustc compiler.
    info: The currently active `rustc` version is `rustc 1.43.0-nightly (3dbade652 2020-03-09)`
       Compiling cb_util v0.3.0 (/home/brett/research/ASIS/citybound/cb_util)
    error[E0412]: cannot find type `FsEventWatcher` in crate `notify`
      --> cb_util/src/config_manager/mod.rs:74:22
       |                                                                                                     
    74 |     watcher: notify::FsEventWatcher,
       |                      ^^^^^^^^^^^^^^ not found in `notify`
                                                        
    warning: unnecessary parentheses around type
      --> cb_util/src/config_manager/kay_auto.rs:10:61                                                       
       |                                                                                                     
    10 |     _raw_id: RawID, _marker: ::std::marker::PhantomData<Box<(C)>>
       |                                                             ^^^ help: remove these parentheses
       |
       = note: `#[warn(unused_parens)]` on by default
                                                        
    warning: unnecessary parentheses around type
      --> cb_util/src/config_manager/kay_auto.rs:32:89                                                       
       |                                                                                                     
    32 | pub struct ConfigUserRepresentative<C: Config>{ _marker: ::std::marker::PhantomData<Box<(C)>> }
       |                                                                                         ^^^ help: re
    move these parentheses                              
                                                                                                             
    warning: unnecessary parentheses around type
       --> cb_util/src/config_manager/kay_auto.rs:114:61                   
        |                                                                                                    
    114 |     _raw_id: RawID, _marker: ::std::marker::PhantomData<Box<(C)>>
        |                                                             ^^^ help: remove these parentheses
                                                                                                             
    warning: unnecessary parentheses around type
       --> cb_util/src/config_manager/kay_auto.rs:192:61                    
        |                                                                                                    
    192 |     _raw_id: RawID, _marker: ::std::marker::PhantomData<Box<(CD)>>
        |                                                             ^^^^ help: remove these parentheses    
                                                        
    warning: use of deprecated item 'uuid::Uuid::from_random_bytes': please use the `uuid::Builder` instead t
    o set the variant and version
      --> cb_util/src/random.rs:43:5                                                                         
       |                                                
    43 |     Uuid::from_random_bytes(thread_rng().gen()) 
       |     ^^^^^^^^^^^^^^^^^^^^^^^              
       |
       = note: `#[warn(deprecated)]` on by default
    
    error: aborting due to previous error                                                                    
                                                        
    For more information about this error, try `rustc --explain E0412`.
    error: could not compile `cb_util`.                                                                      
    
    
    Reply
  • Bump elliptic from 6.5.2 to 6.5.4 in /cb_browser_ui
    Bump elliptic from 6.5.2 to 6.5.4 in /cb_browser_ui

    Mar 8, 2021

    Bumps elliptic from 6.5.2 to 6.5.4.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    S Dependencies 
    Reply
  • Bump y18n from 4.0.0 to 4.0.1 in /cb_browser_ui
    Bump y18n from 4.0.0 to 4.0.1 in /cb_browser_ui

    Mar 31, 2021

    Bumps y18n from 4.0.0 to 4.0.1.

    Changelog

    Sourced from y18n's changelog.

    Change Log

    All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

    5.0.5 (2020-10-25)

    Bug Fixes

    5.0.4 (2020-10-16)

    Bug Fixes

    • exports: node 13.0 and 13.1 require the dotted object form with a string fallback (#105) (4f85d80)

    5.0.3 (2020-10-16)

    Bug Fixes

    • exports: node 13.0-13.6 require a string fallback (#103) (e39921e)

    5.0.2 (2020-10-01)

    Bug Fixes

    5.0.1 (2020-09-05)

    Bug Fixes

    5.0.0 (2020-09-05)

    ⚠ BREAKING CHANGES

    • exports maps are now used, which modifies import behavior.
    • drops Node 6 and 4. begin following Node.js LTS schedule (#89)

    Features

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by oss-bot, a new releaser for y18n since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    S Dependencies 
    Reply
  • Bump ua-parser-js from 0.7.18 to 0.7.28 in /cb_browser_ui
    Bump ua-parser-js from 0.7.18 to 0.7.28 in /cb_browser_ui

    May 6, 2021

    Bumps ua-parser-js from 0.7.18 to 0.7.28.

    Commits
    • 1d3c98a Revert breaking fix #279 and release as 0.7.28
    • 535f11b Delete redundant code
    • 642c039 Fix #492 LG TV WebOS detection
    • 3edacdd Merge branch 'master' into develop
    • acc0b91 Update contributor list
    • f726dcd Merge branch 'master' into develop
    • 383ca58 More test for tablet devices
    • 7c8aa43 Minor rearrangement
    • 09aa910 Add new device & browser: Tesla
    • 557cc21 More test for latest phones with unique form factor (fold/flip/qwerty/swivel)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    S Dependencies 
    Reply
  • Bump lodash from 4.17.15 to 4.17.21 in /cb_browser_ui
    Bump lodash from 4.17.15 to 4.17.21 in /cb_browser_ui

    May 7, 2021

    Bumps lodash from 4.17.15 to 4.17.21.

    Commits
    • f299b52 Bump to v4.17.21
    • c4847eb Improve performance of toNumber, trim and trimEnd on large input strings
    • 3469357 Prevent command injection through _.template's variable option
    • ded9bc6 Bump to v4.17.20.
    • 63150ef Documentation fixes.
    • 00f0f62 test.js: Remove trailing comma.
    • 846e434 Temporarily use a custom fork of lodash-cli.
    • 5d046f3 Re-enable Travis tests on 4.17 branch.
    • aa816b3 Remove /npm-package.
    • d7fbc52 Bump to v4.17.19
    • Additional commits viewable in compare view
    Maintainer changes

    This version was pushed to npm by bnjmnt4n, a new releaser for lodash since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    S Dependencies 
    Reply
  • Bump browserslist from 4.11.0 to 4.16.6 in /cb_browser_ui
    Bump browserslist from 4.11.0 to 4.16.6 in /cb_browser_ui

    May 24, 2021

    Bumps browserslist from 4.11.0 to 4.16.6.

    Changelog

    Sourced from browserslist's changelog.

    4.16.6

    • Fixed npm-shrinkwrap.json support in --update-db (by Geoff Newman).

    4.16.5

    • Fixed unsafe RegExp (by Yeting Li).

    4.16.4

    • Fixed unsafe RegExp.
    • Added artifactory support to --update-db (by Ittai Baratz).

    4.16.3

    • Fixed --update-db.

    4.16.2

    4.16.1

    • Fixed Chrome 4 with mobileToDesktop (by Aron Woost).

    4.16

    • Add browserslist config query.

    4.15

    • Add TypeScript types (by Dmitry Semigradsky).

    4.14.7

    • Fixed Yarn Workspaces support to --update-db (by Fausto Núñez Alberro).
    • Added browser changes to --update-db (by @​AleksandrSl).
    • Added color output to --update-db.
    • Updated package.funding to have link to our Open Collective.

    4.14.6

    • Fixed Yarn support in --update-db (by Ivan Storck).
    • Fixed npm 7 support in --update-db.

    4.14.5

    • Fixed last 2 electron versions query (by Sergey Melyukov).

    4.14.4

    • Fixed Unknown version 59 of op_mob error.

    4.14.3

    • Update Firefox ESR.

    4.14.2

    • Fixed --update-db on Windows (by James Ross).
    • Improved --update-db output.

    4.14.1

    • Added --update-db explanation (by Justin Zelinsky).

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    S Dependencies 
    Reply
  • cargo update
    cargo update

    Jun 16, 2021

                                                                                                                                                                                                           
    Reply
  • Bump path-parse from 1.0.6 to 1.0.7 in /cb_browser_ui
    Bump path-parse from 1.0.6 to 1.0.7 in /cb_browser_ui

    Aug 10, 2021

    Bumps path-parse from 1.0.6 to 1.0.7.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    S Dependencies 
    Reply
  • Broken UI
    Broken UI

    Nov 24, 2021

    When I open the game, I get a UI Broken message and my screen looks like this Screen Shot 2021-11-24 at 4 19 16 PM

    I am on MacOS. I am running citybound-v0.1.2-685-g8a11e4d-osx.

    Full error information:

    componentDidMount in ../src/menu.js 154:8
    q.focus&&q.focus();for(q=0;qZh in ../node_modules/react-dom/cjs/react-dom.production.min.js 212:0
    Uh in ../node_modules/react-dom/cjs/react-dom.production.min.js 211:0
    Uh in ../node_modules/react-dom/cjs/react-dom.production.min.js 211:0
    Ah in ../node_modules/react-dom/cjs/react-dom.production.min.js 209:0
    og in ../node_modules/react-dom/cjs/react-dom.production.min.js 207:0
    gi in ../node_modules/react-dom/cjs/react-dom.production.min.js 224:0
    hi in ../node_modules/react-dom/cjs/react-dom.production.min.js 225:0
    _onCommit in ../node_modules/react-dom/cjs/react-dom.production.min.js 232:0
    e in ../node_modules/react-dom/cjs/react-dom.production.min.js 236:0
    fh in ../node_modules/react-dom/cjs/react-dom.production.min.js 222:0
    e in ../node_modules/react-dom/cjs/react-dom.production.min.js 236:0
    findDOMNode in ../node_modules/react-dom/cjs/react-dom.production.min.js 238:0
    render in ../src/citybound.js 164:27
    makePrefixMap in ../node_modules/rc-tree-select/node_modules/rc-animate/es/util.js 29:21
    React.Children.count in ../node_modules/rc-tree-select/node_modules/rc-trigger/es/LazyRenderBox.js 29:14
    b=require("z1Am");b.register("cargo-web-5b6bb82f6e4d51a67f84b92b8d1f9ffc",require("LzjI"));b.load([["Cargo.a5fc1197.cargo-web-5b6bb82f6e4d51a67f84b92b8d1f9ffc","gDmM"]]).then(function in /citybound.95e008b3.js 143580:191```
    `
    Reply
  • DESIGN PROPOSAL: Vegetation
    DESIGN PROPOSAL: Vegetation

    Jun 15, 2018

    This is a migration of my Foliage mod design specs to the Design Doc.

    Reply
  • Updates citybound to nightly rust.
    Updates citybound to nightly rust.

    May 21, 2017

    1. Updates clippy to fresh version.
    2. Make clippy optional.
    3. Fix NonZero API changes.
    4. Allow CI to check nightly versions.
    Reply
  • Changed camera controls to a more traditional RTS style
    Changed camera controls to a more traditional RTS style

    Dec 26, 2016

    Sorry if I'm treading on your toes, but I saw some comments on Reddit complaining about the UI and controls, so I changed the camera controls to feel more natural for me, to be more of an RTS style. New controls are:

    • WASD or shift + mouse move to pan
    • middle click + drag to rotate
    • Scroll to zoom (also, scroll events were not being fired before for me in Linux because I think Linux uses MouseScrollDelta::LineDelta instead of MouseScrollDelta::PixelDelta, so I updated the code handling that so both should work now, untested in Windows or Mac)

    Also, as theoretically what keyboard and mouse events do can be changed by the current keys and buttons held down, I updated the input handling so the Key and Mouse events mutate the InputState struct in UserInterface, and the actual update is performed when an UIUpdate message is received, after all the input is stored into InputState.

    Ben Wang

    Reply
  • Update recommended vs-code extension
    Update recommended vs-code extension

    Mar 7, 2017

    Rustycode hasn't been updated in awhile, and is considered deprecated. The community has taken up development in a fork which we should recommend instead. (See the top of the description for an explanation)

    Reply
  • Testing of bogdad's hash map
    Testing of bogdad's hash map

    Jul 30, 2017

    Continuation of #190

                                                                                                                                                                                                           
    Reply
  • Support for pitching the camera
    Support for pitching the camera

    Jan 9, 2017

    This was a fairly simple implementation. Right now it uses the rotation modifier keys and speed, but I can add separate settings if that is needed.

    Do note that I, unfortunately, ran rustfmt on src/core/ui.rs. I can revert and re-implement, if you'd prefer that.

    Reply
  • UI refactor, take 2
    UI refactor, take 2

    Jan 21, 2017

                                                                                                                                                                                                           
    Reply
  • Develop more coherent UI architecture
    Develop more coherent UI architecture

    Jan 11, 2017

    Currently messy code and uncertainties in an increasing number of areas hint at a missing coherent UI logic/architecture. In this meta issue I'll collect my own thoughts and developments towards an actual architecture.

    D2 - medium T Graphics T UI 
    Reply
  • Kay Architecture Improvements (Discussions)
    Kay Architecture Improvements (Discussions)

    Jan 9, 2017

    I already have some goals of my own for how to improve kay, but let's use this issue to discuss, I'll add my ideas as we go.

    D2 - medium S Simulation Core T Code Beauty T Code Building 
    Reply
  • Windows out-of-memory crashes
    Windows out-of-memory crashes

    Oct 25, 2017

    To get this error specifically I generated the small grid and pressed c.

    Full call stack of the thread that threw the exception:

    citybound.exe!alloc_system::platform::{{impl}}::oom() Line 438 (c:\projects\rust\src\liballoc_system\lib.rs:438)
    citybound.exe!alloc_system::{{impl}}::oom() Line 80 (c:\projects\rust\src\liballoc_system\lib.rs:80)
    citybound.exe!std::heap::__default_lib_allocator::__rdl_oom() Line 46 (c:\projects\rust\src\libstd\heap.rs:46)
    citybound.exe!alloc::heap::{{impl}}::oom(alloc::heap::Heap * self, alloc::allocator::AllocErr err) Line 98 (c:\projects\rust\src\liballoc\heap.rs:98)
    citybound.exe!alloc::raw_vec::RawVec<u8, alloc::heap::Heap>::allocate_in<u8,alloc::heap::Heap>(bool cap, alloc::heap::Heap zeroed) Line 101 (c:\projects\rust\src\liballoc\raw_vec.rs:101)
    [Inline Frame] citybound.exe!alloc::raw_vec::RawVec<u8, alloc::heap::Heap>::with_capacity() Line 141 (c:\projects\rust\src\liballoc\raw_vec.rs:141)
    [Inline Frame] citybound.exe!alloc::vec::Vec<u8>::with_capacity() Line 359 (c:\projects\rust\src\liballoc\vec.rs:359)
    citybound.exe!allocators::{{impl}}::allocate<u8>(unsigned __int64 capacity) Line 28 (z:\Rust\CityBound\citybound\engine\allocators\src\lib.rs:28)
    citybound.exe!chunked::SizedChunkedArena::push() Line 215 (z:\Rust\CityBound\citybound\engine\chunked\src\lib.rs:215)
    citybound.exe!kay::swarm::Swarm<citybound::core::simulation::Simulation>::add_with_id<citybound::core::simulation::Simulation>(citybound::core::simulation::Simulation * self, kay::id::ID initial_state) Line 74 (z:\Rust\CityBound\citybound\engine\kay\src\swarm.rs:74)
    citybound.exe!kay::swarm::Swarm<citybound::core::simulation::Simulation>::resize_at_index<citybound::core::simulation::Simulation>(kay::slot_map::SlotIndices) Line 134 (z:\Rust\CityBound\citybound\engine\kay\src\swarm.rs:134)
    [Inline Frame] citybound.exe!kay::swarm::Swarm<citybound::core::simulation::Simulation>::resize(unsigned __int64) Line 129 (z:\Rust\CityBound\citybound\engine\kay\src\swarm.rs:129)
    [Inline Frame] citybound.exe!kay::swarm::Swarm<citybound::core::simulation::Simulation>::receive_instance(kay::messaging::Packet<citybound::core::simulation::kay_auto::MSG_Simulation_wake_up_in> *) Line 155 (z:\Rust\CityBound\citybound\engine\kay\src\swarm.rs:155)
    citybound.exe!kay::swarm::Swarm<citybound::core::simulation::Simulation>::dispatch_packet<citybound::core::simulation::Simulation,citybound::core::simulation::kay_auto::MSG_Simulation_wake_up_in,closure>(kay::messaging::Packet<citybound::core::simulation::kay_auto::MSG_Simulation_wake_up_in> * self, closure * packet, kay::actor_system::World * handler) Line 250 (z:\Rust\CityBound\citybound\engine\kay\src\swarm.rs:250)
    citybound.exe!kay::actor_system::ActorSystem::single_message_cycle() Line 243 (z:\Rust\CityBound\citybound\engine\kay\src\actor_system.rs:243)
    [Inline Frame] citybound.exe!kay::actor_system::{{impl}}::process_all_messages::{{closure}}(closure *) Line 269 (z:\Rust\CityBound\citybound\engine\kay\src\actor_system.rs:269)
    [Inline Frame] citybound.exe!core::ops::function::FnOnce::call_once(closure) Line 223 (c:\projects\rust\src\libcore\ops\function.rs:223)
    citybound.exe!std::panic::{{impl}}::call_once<(),closure>(std::panic::AssertUnwindSafe<closure>) Line 295 (c:\projects\rust\src\libstd\panic.rs:295)
    citybound.exe!panic_unwind::__rust_maybe_catch_panic() Line 99 (c:\projects\rust\src\libpanic_unwind\lib.rs:99)
    citybound.exe!std::panicking::try<(),std::panic::AssertUnwindSafe<closure>>(std::panic::AssertUnwindSafe<closure> f) Line 464 (c:\projects\rust\src\libstd\panicking.rs:464)
    citybound.exe!std::panic::catch_unwind<std::panic::AssertUnwindSafe<closure>,()>(std::panic::AssertUnwindSafe<closure>) Line 363 (c:\projects\rust\src\libstd\panic.rs:363)
    citybound.exe!kay::actor_system::ActorSystem::process_all_messages() Line 268 (z:\Rust\CityBound\citybound\engine\kay\src\actor_system.rs:268)
    [Inline Frame] citybound.exe!citybound::main::{{closure}}(closure *) Line 106 (z:\Rust\CityBound\citybound\game\main.rs:106)
    [Inline Frame] citybound.exe!core::ops::function::FnOnce::call_once(closure) Line 223 (c:\projects\rust\src\libcore\ops\function.rs:223)
    citybound.exe!std::sys_common::backtrace::__rust_begin_short_backtrace<closure,()>(closure) Line 131 (c:\projects\rust\src\libstd\sys_common\backtrace.rs:131)
    [Inline Frame] citybound.exe!std::thread::{{impl}}::spawn::{{closure}}::{{closure}}(closure) Line 400 (c:\projects\rust\src\libstd\thread\mod.rs:400)
    citybound.exe!std::panic::{{impl}}::call_once<(),closure>(std::panic::AssertUnwindSafe<closure>) Line 295 (c:\projects\rust\src\libstd\panic.rs:295)
    citybound.exe!panic_unwind::__rust_maybe_catch_panic() Line 99 (c:\projects\rust\src\libpanic_unwind\lib.rs:99)
    citybound.exe!std::panicking::try<(),std::panic::AssertUnwindSafe<closure>>(std::panic::AssertUnwindSafe<closure>) Line 464 (c:\projects\rust\src\libstd\panicking.rs:464)
    [Inline Frame] citybound.exe!std::panic::catch_unwind(std::panic::AssertUnwindSafe<closure>) Line 361 (c:\projects\rust\src\libstd\panic.rs:361)
    [Inline Frame] citybound.exe!std::thread::{{impl}}::spawn::{{closure}}(closure) Line 399 (c:\projects\rust\src\libstd\thread\mod.rs:399)
    citybound.exe!alloc::boxed::{{impl}}::call_box<(),closure>(closure * self, ...) Line 762 (c:\projects\rust\src\liballoc\boxed.rs:762)
    [Inline Frame] citybound.exe!alloc::boxed::{{impl}}::call_once() Line 772 (c:\projects\rust\src\liballoc\boxed.rs:772)
    [Inline Frame] citybound.exe!std::sys_common::thread::start_thread() Line 24 (c:\projects\rust\src\libstd\sys_common\thread.rs:24)
    citybound.exe!std::sys::imp::thread::{{impl}}::new::thread_start() Line 54 (c:\projects\rust\src\libstd\sys\windows\thread.rs:54)
    kernel32.dll!00007ffbe15413d2() (Unknown Source:0)
    ntdll.dll!00007ffbe22f54f4() (Unknown Source:0)
    

    Debug console in VS Code prints:

    Exception thrown at 0x00007FF7473E7718 in citybound.exe: 0xC000001D: Illegal Instruction.
    

    Debug window: debugout

    P Bug PL Windows 
    Reply