Comments (4)
The bindings are setting SIMD Level 0 by default, when changing it to something like e.g. 1 << 8 (AVX2) the crash disappears.
Hope that information helps.
public static FastNoise FromEncodedNodeTree(string encodedNodeTree)
{
IntPtr nodeHandle = fnNewFromEncodedNodeTree(encodedNodeTree);
if (nodeHandle == IntPtr.Zero)
{
return null;
}
return new FastNoise(nodeHandle);
}
from fastnoise2.
I think this is caused by a threading race condition when detecting the SIMD level.
As a workaround you can call GetSIMDLevel()
at the start of the app to init this before any threading
from fastnoise2.
That seemed to work, thanks!
from fastnoise2.
Sadly it's still crashing, just happening less :/
from fastnoise2.
Related Issues (20)
- OpenSimplex2 4th Dimension HOT 3
- View zoom in Node Editor HOT 3
- Where to put ImGui when building noisetool HOT 2
- CMake with MSVC setup for debug mode HOT 2
- Compile on macOS ARM doesn't produce binary HOT 2
- GenUniformGrid2D scaled xstart and ystart
- Issues Using on Windows HOT 10
- Is there C bindings? HOT 4
- Could there be a way to get both the value and the gradient? HOT 2
- What do I use the voxel tool for? HOT 1
- Could there or is there a way to get the maximum and minimum possible returned value for a node tree HOT 1
- Does library has 1D noise? HOT 1
- DistanceToPoint NaN at (0,0) HOT 2
- API Documentation / best place to search for in source code HOT 1
- [Question] What's the range of the example cave generation nodes tree? HOT 6
- FastNoise2 asserts without RTTI HOT 19
- FastNoise2 is taking more time to generate a 2D grid than FastNoiseLite HOT 2
- What does node performance measure? HOT 1
- Thread safety crash when launching noises from background thread. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastnoise2.