Comments (6)
This can happen if you update the BulletSharp reference in one project, but not another. The runtime expects the newer type, but sees the old type or vice versa. Try rebuilding the entire solution and check that only the newest BulletSharp is referenced everywhere.
You can also check if the VehicleDemo (in demos/Generic) works. I couldn't reproduce the exception.
from bulletsharp.
Ok, in visual studio it works ok, but when i run builded file alone - have exception
Perhaps it's my fault, I was wrong to build "BulletSharp.dll". I build it for "generic".
I traced the error. It is called from RigidBody_GetUnmanagedConstructionInfo in
RigidBodyConstructionInfo::RigidBodyConstructionInfo(btScalar mass, BulletSharp::MotionState^ motionState, BulletSharp::CollisionShape^ collisionShape)
from bulletsharp.
I make a test. Build BulletSharp.dll release and debug mode. Debug mode - work clearly, Release - don't work with exception
from bulletsharp.
I found a solution:
Since running a separate (without studio) application displays more information about the error, I got an error AccessViolation.
Google helped:
https://code.google.com/p/bulletsharp/issues/detail?id=52
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?t=8180
i change BulletSharp in RaycastVehicle.cpp (line 85), at static RaycastVehicle::RaycastVehicle()
original: RigidBodyConstructionInfo^ info = gcnew RigidBodyConstructionInfo(0, nullptr, nullptr);
by: RigidBodyConstructionInfo^ info = gcnew RigidBodyConstructionInfo(0, nullptr, nullptr,Vector3_Zero);
and all works!
from bulletsharp.
I added tests for the RigidBodyConstructionInfo constructor, but couldn't get the access violation. I do remember this issue popping up every now and then.
Can you tell me what your CPU model is? I'm wondering if it could be because of missing SSE support.
from bulletsharp.
https://gist.github.com/mifwarior/6591954f8a48b128e2cf
I'm certainly not the master of C ++, but I have a suspicion that it was not related to the SSE, but it is my guess.
I have 2 computers, one is new, the other one is old and was obtained on both the error. The problem occurs every start.
from bulletsharp.
Related Issues (20)
- how to compile dll from src? HOT 1
- Hi Vb.net developer issue when I try to remove ridgid body!!! HOT 3
- Stop simulate HOT 9
- Why does BasicDemo have many errors??? HOT 2
- Bullet Physics Version Update HOT 4
- Problem with BulletSharp with Debug x64 and Release x64 HOT 2
- MultiThreadedDemo, A heap has been corrupted exception HOT 3
- Build instructions for non C++ developers HOT 2
- Link is broken for downloading x64 release HOT 1
- AccessViolationException while BulletSharp.DynamicsWorld.StepSimulation HOT 2
- Example without Demo UI
- .NET Core compatibility HOT 6
- Strange behaviour HOT 4
- UnhandledException : Removing object that is not being tracked. at Finalize() HOT 2
- btTransform wrapper HOT 4
- How can BulletSharp.dll be built as AnyCPU .dll HOT 1
- BulletSharp, OpenTK & Scale HOT 4
- Unhandled Exception on ~btGImpactMeshShape()
- C# Demo Build Issues - Consistent Versions of Dependencies? HOT 1
- Passing Through object
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 bulletsharp.